Wait for the user task completion before completing the process

#1

Hi, I tried this https://www.flowable.org/docs/userguide/index.html#bpm10minutetutorial to create a sample project. After that I inserted a service task between the two user tasks and made a java delegate class for that service task.
Now when i start the process, it gets completed without waiting for the completion of the first user task.
How can I make my service task wait and proceed after the user claims and completes the first user task?

#2

Hey @Varun,

Can you perhaps share your BPMN XML?

From what you have explained the service task should wait on the completion of the user task before running.

Cheers,
Filip