AnsweredAssumed Answered

The receive task is not getting completed

Question asked by kum9sud on Apr 18, 2016
Latest reply on Apr 18, 2016 by martin.grofcik
We have the following model -

Start -> Receive Task -> User Task -> End

After starting the process the activity gets stuck at receive task. How to send the signal to the receive task so that it gets completed and the user task gets started?

We are using the following code -

Execution execution = runtimeService.createExecutionQuery()


The execution object is always null. We are getting the following exception - activitiObjectNotFoundException ->ExecutionID does not exist.

Also in our example where is the ideal place to add the runtime.signal() call?