Hi ,
I am using activiti 5.10, recently, I have encountered a problem.
I have one workflow with a start event, an end event, and 3 userTask nodes.
Start-->userTask1->(flow1)->userTask2->(flow2)->userTask3->end.
A very simple activiti workflow.
The question is, when complete userTask1, the flow go to userTask2, it is OK.
After I complete userTask2, the flow will goto userTask3 as the flow designed.
But actually, the current activity goto userTask1, the I complete userTask1, goto userTask2, userTask1.
Seems the activiti engine always loop between userTask1 and userTask2.
I overwrite UserTaskActivityBehavior.leave method, try to print the outgoingTransitions.
When it works correctlly, logs shows as below:
outgoingTransitions:[(userTask1)--flow1-->(userTask2)]
But, in my case: logs show as below, missing sequence flow: flow1.
outgoingTransitions: [(userTask1)-->(userTask2)]
After I restart my tomcat, then the activiti works well. Is it a deployment issue?
Can anyone have an idea regarding this question, thanks.
Please share your bpmn file that the issue occurred.
However, the version is too old anything. I recommend you to upgrade to 5.22.0.
If you found that the issue was fixed by restarting tomcat then I would say it does seem likely to have been a deployment issue.
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.