cancel
Showing results for 
Search instead for 
Did you mean: 

Deactivate Java Receive Task

mialtuna
Champ in-the-making
Champ in-the-making
Hi!

Is it posible to deactivate a java receive task? I've got 2 parallel receive tasks and I want to deactivate one of the when the first executes.

I've tried deleting the execution related to the task, but it doesn't work. After deleting the task it apears again with the execution id that had the previous paralel gateway before the deletion.

Thanks!
2 REPLIES 2

jbarrez
Star Contributor
Star Contributor
The proper BPMN wat to do it is to use an embedded subprocess that contains all those parallel paths. Then use a signal event whenever one of the receive tasks is reached. The signal is caught on the subprocess boundary, and the other paths are removed.

mialtuna
Champ in-the-making
Champ in-the-making
Once again, thank you!