How to query for "Processes with Errors"

Certified Lead Developer

Hi everyone, 

We have a requirement where we need to clean up old process instances from our Production environment as we have around 20,000 instances with errors in them that are taking up disk space. Instead of having our help desk team delete 25 instances at a time from the "Monitoring" View, I thought that we could create a process report that would contain all process instances with errors and have an automated process that queries that report and deletes those instances. However, I can't seem to find a filter criteria for "Processes with Errors". I know there are "Active", "Paused by Exception" etc. I also know that there is a report called "Processes with Problems" but that only filters by "Paused by Exception". How can I query for all the instances that have an error in them? Has anyone encountered this blocker? And if so, how did you get around it?

Thank you, 

Rajiv Nelvoy

  Discussion posts and replies are publicly visible