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.
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.