cancel
Showing results for 
Search instead for 
Did you mean: 

How to stop delete event??

swamy2156
Champ on-the-rise
Champ on-the-rise
Hi,
My workflow has subprocess with boundary error event  and in that a parallel gateway with 7 parallel tasks all having "all" listeners. When any one of task completed, flows go to error boundary event. For completed task, complete n delete events triggered n for others, only delete events triggered.We cannot assure, which task will be completed out of 7 parallel tasks, so, all of them have "all" listeners. Now, for actual completed task,  I need only complete event but delete event should not triggered. Is there a way to restict to stop delete event in this case?

Thanks,
Swamy.
1 REPLY 1

trademak
Star Contributor
Star Contributor
Hi Swamy,

How do you flow to the error boundary event? Do you throw an error end event in the sub process?
A completed task should not get deleted. Could you provide a unit test showing your example?

Best regards,