
When you define an integration process, you can specify that if a specific situation occurs at runtime, an alert is to be triggered using Alert Management. To do this, you insert a control step at the required position in the process.
If the control step triggers an alert at runtime, Alert Management sends the alert to the relevant user. The process is not terminated and resumes on completion of the control step. The user who is informed by Alert Management must then decide whether to intervene in the process or not.
More information: Alert Management
Alert Category
Before you can trigger an alert you must define a corresponding alert category. In the alert category you define texts, the expiry date, and so on. You can define an alert category in the following ways:
You can define an alert category directly in the ES Builder. This has the advantage that you can define an alert container. In the alert container you can define which data from the integration process the user can see in the alert short text.
You can also define alert categories on the alert server. However, you can only use elements of the process container as variables in alert long texts. If you require new alert categories for alerts in integration processes, you must define them in the Enterprise Services Builder. You can, however, reuse any alert categories that are already defined on the alert server.
Use the Integration Server as the alert server.
Define the alert category
More information: Creating an Object
To proceed, follow the description of how to define an alert on the alert server.
More information: Defining Alert Categories
You can use container elements with simple XSD data types in the alert container.
You define the binding for these container elements later on in the control step for triggering the alert.
It is possible to define alert texts in different languages.
More information: Editing Language-Specific Texts
Once the change list is activated, the alert category is deployed on the alert server. You can display (but not change) the alert categories by calling transaction ALRTCATDEF.
Define a Control Step for Triggering the Alert
The properties area displays all container elements that are defined for the selected alert category.
Defining or Selecting the Alert Category
An alert has two texts: a short text and a long text. The short text for an alert displays the ID of the process instance automatically at runtime. You can specify the long text in the alert category or in the control step.
More information: Defining Alert Categories
If you want to specify the long text in the control step, you need to select the Dynamic Text field in the alert category definition.
Define a Control Step for Triggering the Alert
To be able to display this text, you must have selected the field Dynamic Text in the alert category definition.
Using Variables in the Alert Text
To make the alert long text more meaningful, add variables to the alert text or specify a path for accessing the values in the message payload.
Specify a simple XSD data type for the container element. You cannot include tables in alerts.
More information: Container Operation
&variable&
The following example is an alert text with two variables:
Number &price& exceeds the upper limit &limit&
price and limit are defined in the process container.
Number 5000exceeds the upper limit 2000
&message.PAYLOAD.attribute&
The following example is an alert text with one variable for a value from the message payload:
Check purchase order with purchase order number&MyMessage.PAYLOAD.OrderNumber&
MyMessage is defined in the process container. OrderNumber is the required field from the payload.
Check purchase order with purchase order number ABC123456789.
You can define the receiver of an alert in different ways:
More information: Recipient Determination
If Alert Management is to send the alert by e-mail, you need to define the e-mail addresses for the sender and receiver on the Integration Server.
More information: Creating and Maintaining User Master Records