Hello
When deploy my custom workflow I get the following error:
2021-05-07T16:51:26.894464187Z [Validation set: 'activiti-executable-process' | Problem: 'activiti-exclusive-gateway-condition-on-seq-flow'] : Default sequenceflow has a condition, which is not allowed - [Extra info : processDefinitionId = planningDevDocProcess | processDefinitionName = Planning development documents | | id = nextStepGateway | | activityName = Exclusive Gateway | ] ( line: 40, column: 5) 2021-05-07T16:51:26.894490486Z 2021-05-07T16:51:26.894496607Z at org.activiti.engine.impl.bpmn.parser.BpmnParse.execute(BpmnParse.java:216) 2021-05-07T16:51:26.894502198Z at org.activiti.engine.impl.bpmn.deployer.BpmnDeployer.deploy(BpmnDeployer.java:136) 2021-05-07T16:51:26.894507488Z at org.activiti.engine.impl.persistence.deploy.DeploymentManager.deploy(DeploymentManager.java:58) 2021-05-07T16:51:26.894512036Z at org.activiti.engine.impl.cmd.DeployCmd.execute(DeployCmd.java:106) 2021-05-07T16:51:26.894515984Z at org.activiti.engine.impl.cmd.DeployCmd.execute(DeployCmd.java:37) 2021-05-07T16:51:26.894519841Z at org.activiti.engine.impl.interceptor.CommandInvoker.execute(CommandInvoker.java:24) 2021-05-07T16:51:26.894524490Z at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:57) 2021-05-07T16:51:26.894528727Z at org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:47) 2021-05-07T16:51:26.894533166Z at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140) 2021-05-07T16:51:26.894537444Z at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:45)
What this meen? What I do wrong?
It says it right in the error message: You have an exclusive gateway in which the default outgoing sequence flow has been modelled with a condition - the purpose of a default is to apply as a fallback without any conditions, so setting a condition on such a flow is invalid, and rejected by the validation. So you need to fix your BPMN2 model.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.