02-21-2018 06:52 AM
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.
02-28-2018 05:35 AM
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
02-23-2018 12:06 PM
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
02-28-2018 05:35 AM
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
02-28-2018 12:01 PM
Thanks for testing this out and reporting back!
Explore our Alfresco products with the links below. Use labels to filter content by product module.