My requirement is to know the process model status i.e. i wanted to know all the process models that are failed so that i can use them to trigger some api. As per current approach, process model either completed or failed with errors both are giving me status as 0. How can we create the difference. Please guide
Discussion posts and replies are publicly visible
A process report may be what you're looking for here. Try creating a process report configured to show Active processes with the number of active tasks less than or equal to zero.
Use a process report and queryProcessAnalytics as Zakary Melvin suggests
We have used this approach but we are not getting list of all failed process models i.e. some of the failed process models are not showing using above mentioned approach.
IN that case, you can set a new branch with an script with timeout in your process.
If that script is executed, means that an error has ocurred, and youi just have to save it , for example in a database
Thats a update in process model you mean right? but that;s not feasible since we have to update all the prev process models in that case. Please suggest some other solution
I think there is no other solutions than the ones suggested, unless you find a way via API
click on view all Process errors
But in that way the user won't be able to execute a web api if necessary
Try this: https://appian.rocks/2024/04/09/process-alerts-api/
ok. thanks