Quantcast
Channel: SCN : Unanswered Discussions - SAP Business Process Management
Viewing all articles
Browse latest Browse all 3160

Terminate parallel tasks during looping for a certain condition

$
0
0

Hi guys,

 

I have the following case:

There is a referenced sub process in my process flow, configured with looping. Hence several parallel tasks should be started.The idea is to continue the main process flow only if all parallel tasks have been approved by their processors or cancel all tasks with status "In progress" if one of the processors cancel his task.

I need some ideas for how to achieve that.

What I have tried so far is to check the user action within the referenced sub process and if it is reject I am exiting the sub process through a critical escalation end set to terminating. I was expecting that that the loop will be broken, all pending tasks in UWL will be cancelled and the process flow will continue, but it does not do this. What happens is that the process flow continues, but the created parallel tasks are left in the UWL with status "In Progress".

 

I will really appreciate your ideas on how I can achieve the above.

 

Thank you very much in advance.

 

Best Regards,

 

Mariya Stancheva


Viewing all articles
Browse latest Browse all 3160

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>