AnsweredAssumed Answered

No error if none of the condition defined on sequence flow is satisfied

Question asked by khushboo.gupta on Feb 21, 2018
Latest reply on Feb 28, 2018 by cjose

I have a workflow where condition is defined on the sequence flows without any gateway, as shown in below diagram:


When none of the condition is satisfied, the workflow gets completed without giving any warning or error. 

I contrast to this, if such conditional flows would have given after a gateway, it give following error:

      Caused by: org.activiti.engine.ActivitiException: No outgoing sequence flow of the exclusive gateway 'idGateway' could be selected for continuing the process


So there is inconsistency in the behavior. In one case it gives error, in other process just completes. 

So my question is, is this an issue or as per design? If its an issue, is this resolved in latest Activiti version. I am using 5.16.4 version of Activiti.