Question

Aborting processes after a certain amount of time automatically

Hello,

 

sometimes our agents start business processes without ever completing them. Is there a way to automatically abort a business afer a certain amount of time (i.e. 30 days)?

 

Kind regards

Kai

Like 0

Like

3 comments
Best reply

Hello,

 

This logic can be achieved via creating a parallel flow inside of each process that needs to be cancelled this way. In this parallel flow you need to set a timer for the needed amount of time and it will cancel the process automatically this way. 

With the existing hanging processes, you need to create a filter in the process log to select the processes you want to cancel, and then cancel them manually.

 

Thank you for your question!

Hello,

 

This logic can be achieved via creating a parallel flow inside of each process that needs to be cancelled this way. In this parallel flow you need to set a timer for the needed amount of time and it will cancel the process automatically this way. 

With the existing hanging processes, you need to create a filter in the process log to select the processes you want to cancel, and then cancel them manually.

 

Thank you for your question!

I have struggled with this as well. The end point "VwSysProcessLog" is a view and cannot be altered. When you press the cancel exec button it hits "0/ServiceModel/ProcessEngineService.svc/CancelExecution"  You may be able to use data service API and pass the required info:

{

    "processDataIds": "5e505285-6015-448b-920d-41c94b8bfe46"

}

Thank you for your help!

Show all comments