AnsweredAssumed Answered

Make Script Task Wait

Question asked by ali.malik on Feb 6, 2017
Latest reply on Feb 8, 2017 by thuynh

Hi,

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?

Thank you

Outcomes