Looking for a way to get an automated email once an action expires. I would like to see what the completion, failed, locked etc. percentages are. This would be nice to receive after each months patching is completed.
Is there an easy way to schedule these actions to kick out an email once complete
The simplest approach is to create a custom Web Report that evaluates the top‑level status of your action and then configure Web Reports scheduling with a relevance‑based trigger.
You can start with something like this:
//Basic top level action status: (id of it, name of it, name of issuer of it, time issued of it as string, state of it, concatenation ";" of (multiplicity of it as string & " " & it) of unique values of (statuses of results of it as string)) of top level bes actions whose (state of it = "Expired" AND name of it as lowercase contains "YOUR_Common_Action_String" as lowercase)
//Shoot an email with the above status based on a relevance‑driven condition:
exists top level bes actions whose ((now - time issued of it > 30*minute) AND (now - time issued of it < 12*hour) AND state of it = "Expired" AND name of it as lowercase contains "YOUR_Common_Action_String" as lowercase)
Another approach is to use REST API combined with scripting:
Monitor the action status
Run periodic API queries at defined intervals to fetch updated action status
Generate dashboard or summary report from the collected data
Send Email using Org. SMTP
However, if your primary goal is simply to receive a generic email once the action completes, you can rely on WebUI Action Notifications: Configuration Options