How to Query Process Instances with Errors

Certified Senior Developer

Hi Team,

We have a requirement of querying all processes with an error in our application and send recurring reminder emails to fix that problem (every 5 minutes). Process Report seems to not have such feature. Can anyone please guide on a potential solution here?

Thanks!

  Discussion posts and replies are publicly visible

Parents
  • Process Reports do allow you to filter on the Status and you can select 'Paused By Exception' for instances that are in error.

    (on the reminder....I would caution you to consider what might happen if there were a very large number of process instances in error and you were sending emails every 5 minutes for all instances...you might want to think of a digest email e.g. "There are 97 instances of XXX process in error since <dateTime>" or similar...but even here, every 5 minutes seems like you'd end up spamming the recipients unnecessarily...)

Reply
  • Process Reports do allow you to filter on the Status and you can select 'Paused By Exception' for instances that are in error.

    (on the reminder....I would caution you to consider what might happen if there were a very large number of process instances in error and you were sending emails every 5 minutes for all instances...you might want to think of a digest email e.g. "There are 97 instances of XXX process in error since <dateTime>" or similar...but even here, every 5 minutes seems like you'd end up spamming the recipients unnecessarily...)

Children