AnsweredAssumed Answered

Multiple receive tasks executed on signal

Question asked by a_sandris on Jul 12, 2017
Latest reply on Jul 18, 2017 by cjose

I have service task which puts message in the external system and then receive task which waits for the signal when the response comes back. That part is easy, but after the signal there is one more service and receive task and they are doing the same thing.

 

I have run into the problem that activiti engine just dies with an infinite loop on the first signal, because when the signal is fired at the runtime service it triggers the second service task and also signals the second receive task (which is not the desired behaviour).

 

The question is - how to trigger only the single receive task which I intend to run?

Outcomes