Is there a way i can get list of all failed process models

Certified Associate Developer

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