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
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...)
Hi Stewart Burchell , would this also include active processes with errors?
Hi Mayank_Verma - an instance is not Active if it is 'Paused By Exception'. There are a few other Statuses that it can be in:
Stewart Burchell - Maybe there is a miscommunication from my end. I want to get the details of processes that are active and in errored state. Are those also filterable with process reports?
Maybe I'm misunderstanding what you're asking? A process report can filter the list of processes based upon some criteria. If you're only interested in instances that are in error then you an use 'Status' set to 'Paused By Exception' as described. If you want data about those instances then that's available in the 'Data' tab:
You have access to anything you might have access to in the Process Model itself - pv!s, pm!s,pp!s...just select + New Data and pick what it is you're looking for.
See here for more details; docs.appian.com/.../Configuring_Process_Reports.html
As mentioned above, I tried adding the filter to the Process Report. Unfortunately, it's not displaying any process instance though I have like 3 process instance errors.