Workflow deployment failed

Showing results for 
Search instead for 
Did you mean: 
Active Member II

Workflow deployment failed


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.894496607Z 	at org.activiti.engine.impl.bpmn.parser.BpmnParse.execute(
2021-05-07T16:51:26.894502198Z 	at org.activiti.engine.impl.bpmn.deployer.BpmnDeployer.deploy(
2021-05-07T16:51:26.894507488Z 	at org.activiti.engine.impl.persistence.deploy.DeploymentManager.deploy(
2021-05-07T16:51:26.894512036Z 	at org.activiti.engine.impl.cmd.DeployCmd.execute(
2021-05-07T16:51:26.894515984Z 	at org.activiti.engine.impl.cmd.DeployCmd.execute(
2021-05-07T16:51:26.894519841Z 	at org.activiti.engine.impl.interceptor.CommandInvoker.execute(
2021-05-07T16:51:26.894524490Z 	at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(
2021-05-07T16:51:26.894528727Z 	at org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(
2021-05-07T16:51:26.894533166Z 	at
2021-05-07T16:51:26.894537444Z 	at org.activiti.spring.SpringTransactionInterceptor.execute(

What this meen? What I do wrong?


1 Reply

Re: Workflow deployment failed

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.