cancel
Showing results for 
Search instead for 
Did you mean: 

MDG Rule based workflow - termination of parallel path(s)

studencp
Participant
0 Kudos

Hi MDG gurus,

did anyone of you implement in RBW a Reject action in parallel steps in such a way that it terminates all other open parallel tasks/subworkflows?

example: two parallel dialog tasks, both require Approve/Reject decision, however after first Reject we dont wan't to wait for processing of the other task.

Any suggestions how to terminate the other sibling subworkflows from system method following the Reject decision?

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

You can use parallel workflow BADI for same.

studencp
Participant
0 Kudos

no, you can't - this BADI is called to handle response from all finished parallel branches, and the issue here is how to close those not finished yet.

I have solved the problem with "killer system method task" and some code copied from SWIA, then I found a blog on the subject (a bit different solution than my, but also correct)