Automatic notification in case of failure.

Questions about and code samples for automation process code snippets within Select.
Post Reply
tamar
Posts: 9
Joined: Wed Dec 14, 2022 4:52 pm

Automatic notification in case of failure.

Post by tamar »

I created an automatic process that is critical for me.
If it falls, I have to know about it.
Is there an option to get an automatic email/notification in case of failure?

Thanks!
BobRichards
Posts: 1376
Joined: Wed Jan 15, 2014 3:50 pm
Location: Raleigh, NC
Contact:

Re: Automatic notification in case of failure.

Post by BobRichards »

Sorry, but there is no current way to do this. You would have to use some other method.
Bob Richards, Senior Software Developer, SoftPro
Kolinski
Posts: 12
Joined: Sat Oct 20, 2018 12:21 am

Re: Automatic notification in case of failure.

Post by Kolinski »

In the Other section of each automations Properties screen there is an "Email failure notifications" option. We have not been able to get this to work or find anyone who knew much about it. This doesn't help fix your issue but it looks like SoftPro had the intention to have the function you're looking for. Maybe someone out there was able to get it to work?

Screenshot 2023-03-20 170012.png
Screenshot 2023-03-20 170012.png (19.28 KiB) Viewed 25824 times
BobRichards
Posts: 1376
Joined: Wed Jan 15, 2014 3:50 pm
Location: Raleigh, NC
Contact:

Re: Automatic notification in case of failure.

Post by BobRichards »

The "Email failure notification" was a beta feature that was removed some time ago.

The only way to see a list of failed automation snippets is to create a Work List for them. In this example, I created new worklist with the source of Process Instances.
ListSource.jpg
ListSource.jpg (41.19 KiB) Viewed 25808 times
Then added a single rule to select failed processes.
rule.jpg
rule.jpg (17.29 KiB) Viewed 25808 times
I wanted to see the most recent failed processes. I set the Query Options to sort by date so most recent is at the top...
sort.jpg
sort.jpg (23.47 KiB) Viewed 25808 times
... and to limit the number to 10 lines.
count.jpg
count.jpg (22.15 KiB) Viewed 25808 times
After testing the settings, save the work list.

This created results in that look like the following. (I did modify the columns that are displayed in the Query Options "Result" tab to remove unnecessary information and re-order the columns.)
results.jpg
results.jpg (128.2 KiB) Viewed 25808 times
Alternatively, you could add a start date to the rules section if you want the results for specific time frames.
Bob Richards, Senior Software Developer, SoftPro
Post Reply