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.
Solved! Go to Solution.
Thanks Ciju, checked in Activiti6, it gives below error:
org.activiti.engine.ActivitiException: No outgoing sequence flow of element 'startEvent1' could be selected for continuing the process] with root cause
I don't think it as per design and it could be a bug! I suggest testing this in Activiti V6 & if you still find this issue in the newer version, it will be great if you can create an issue in Activiti project and make a pull request.
Cheers,
Ciju
Thanks Ciju, checked in Activiti6, it gives below error:
org.activiti.engine.ActivitiException: No outgoing sequence flow of element 'startEvent1' could be selected for continuing the process] with root cause
Thanks for testing this out and reporting back!
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
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.