I have an activiti workflow in which I go from User Task1 -> Groovy Script (Script Task) -> User Task2.
The question is I want to reach the User Task2 only when I know the Groovy Script has completed.
The groovy script hasn't completed and the user task 2 gets activated. Maybe I need to set some configuration variable so that the page needs to be refreshed before Task2 is handled?
I have checked they're all Synchronous, but still User Task2 pops up all of a sudden. Is script task supposed to be this way?