Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Create an alert variable for an alert rule in RPA Hub

Create a variable to configure the messages of an alert rule.

Before you begin

You must do this task in the classic environment.

Create an alert rule. For more information, see Create an alert rule to generate custom notifications in RPA Hub.

Role required: sn_rpa_fdn.rpa_support_user, sn_rpa_fdn.rpa_developer, or sn_rpa_fdn.rpa_admin

About this task

Alert variable refers to a variable or parameter associated with alerts of RPA Hub. It serves as a dynamic token within alert messages, and its value can be linked to a table's field or determined through conditional scripting.

Procedure

  1. Navigate to All > Robotic Process Automation > Monitor > Alert Rules.

  2. Open an alert rule that you want to create and associate an alert variable to.

  3. In the Alert Variables related list, select New.

  4. On the form, fill in the fields.

  5. Select Submit.

Parent Topic:Alert rule and variable in RPA Hub

Alert variable form in RPA Hub

Use the Alert variable form to create a variable for an alert rule message configuration.

FieldDescription
Variable NameName of the alert variable.
Alert RuleName of the alert rule.
IndexOrder of the alert variables in the message.Default sort order for alert variables is ascending order.
Is ScriptedOption to verify the usability of the script. This option adds an advanced data fetch script.
Is Threshold valueOption to verify the usability of the threshold value.
TableField that indicates the table that is selected for this alert variable.For example, the bot process.
FieldField of the table to be mapped.For example, the name of the bot process.
Script

Text field that accepts JavaScript code input and provides controls, such as syntax checking and formatting.For example, to return a value that is data for an alert variable, enter data as follows:

      return { value: data}; 

.

This field appears when the Is Scripted option is selected.