Create and Manage Alerts in MuleSoft RPA Manager
Learning Objectives
After completing this unit, you’ll be able to:
- Explore the Alerting module of MuleSoft RPA Manager.
- Create alert rules and alert targets.
- Examine triggered alerts.
In this unit, you explore MuleSoft RPA’s solution to help notify you quickly when problems arise.
Explore the Alerting Module
After you’ve deployed an RPA process, you want to be notified immediately when problems occur. The Alerting module is designed to do just that.
Every alert is managed by an alert rule, which defines a trigger for an RPA process or bot. When the trigger condition is met, the alert is sent to the specified target(s) and can include a combination of keywords and free text.
Define Alert Targets
You define recipients for an alert, called alert targets, from within the Alert Targets view of the Alerting module in MuleSoft RPA Manager. Currently, all alert targets are email targets.
Alert Target |
Description |
---|---|
Email target |
Allows you to email one or more individuals when the alert rule triggers. |
Creating an email target is similar to writing an email with some minor variations. An email target has a name, which helps users understand the purpose of the target. You must also specify the recipients. You can construct the message body using a combination of text and keywords. Keywords are placeholders that are replaced when the alert rule triggers. For example, everywhere the keyword ${AlertRuleName}
appears in your text, it’s automatically replaced with the name of the alert rule. Fortunately, you don’t need to memorize keywords. They are added to the text by clicking the + symbol.
You may want to create several email alert targets that each define a list of email addresses to be alerted under particular conditions or contexts. For example, a group of runtime administrators. This allows you to reuse an alert target across several alerts. If you need to remove an email recipient from those alerts, you remove it once from the alert target rather than digging into every alert definition.
Create Alert Target Groups
In some situations, you may want to email a set of users if an issue arises. To help keep these triggers organized, you create an alert target group to bundle alert targets. This is done in the Alert Target Groups view of the Alerting module.
Work with Alert Rules
The Alert Rules view of the Alerting module allows you to create alert rules of the following types.
Alert Rule Type |
Description |
---|---|
Trigger run result rule |
Triggers when a specified condition is met during the execution of the RPA process trigger. |
Activity run result rule |
Triggers for a specific run result of a specified activity. For example, when a Bot Task designed to open Chrome fails. |
Process run result rule |
Triggers when the run result for an RPA process enters a designated state. |
MuleSoft RPA bot status alert rule |
Triggers when a bot enters a designated state. |
Time-based license alert rule |
Triggers when your organization approaches either a warning or error threshold related to time-based licensing. Note: This alert option is only available if your organization uses time-based licensing. |
When creating an alert rule, you must specify a name and description, along with selecting an alert target or alert target group. You then select an object to monitor. Objects to monitor may include a process, process activity, or bot. After you choose the object to monitor, you must select the status that acts as the trigger. For example, the status that acts as the trigger in the following screenshot is ExecutionFailure.
You can pause, edit, or delete alert rules. When you pause an alert rule, it remains visible but doesn’t actively monitor trigger events. The Alerts view shows the alert history for your organization.
Walkthrough
Check out the walkthrough instructions.
Every alert is managed by an alert rule, which defines a trigger for an RPA process or bot. When the trigger condition is met, the alert is sent to the specified target(s) and can include a combination of keywords and free text.