I have a user task –> java service task –> user task –> java service task –> end.
when the process hit the user task, it used to go into the wait state.
I was using spring beans for the java service task.
Now I changed the java service tasks to implement ActivityBehavior.
After this change, the process waits at the 1st user task and when it is complete, it goes to the second user task [create the task in db] but instead of waiting, it continues and ends. At that time, it tries to delete the execution record but fails due to FK from the second task record into the execution.
Why does it not wait at the second user task. It used to when my service tasks were spring beans [without implementing either javaDelegate or ActivityBehavior ].
Appreciate any help.
thanks
Saprar