Try OpenEdge Now
skip to main content
Developing BPM Applications with Developer Studio
Using alerts : Associating an alert with a workstep
 

Associating an alert with a workstep

After defining the alert in the Alerts tab, you must associate the alert with a workstep at various workstep transition points (such as, “On activation”, “When completed”, and for an Overdue Action in “On Overdue”) during execution of the process. You can associate an alert with a Start, End, Activity, Adapter, or Subprocess workstep. In the case of the Start workstep, you can associate the alert only on completion of the workstep.
To associate an alert with a workstep:
1. From the workstep’s Properties view, open the Alerts tab.
The Alerts tab displays the On Activation and When Completed sections. For the Start workstep, the When Completed section is only displayed.
2. To associate the alert with the workstep when the workstep is initially activated, add the alert to the table in the On Activation section.
To associate the alert when the workstep is completed, add the alert to the table provided in the When Completed section.
3. Click Add to display the Add dialog, which lists all the available Alerts.
a. Select an Alert from the drop-down list provided.
b. Select the Send SMS check box to send the alert message as an SMS to the alert recipients. The alert message is sent to the recipient's phone number, as registered on Business Process Portal.
To enable using SMS for sending alerts, the Business Process Server property oebps.sms.enable must be set to TRUE in the oebps.conf configuration file. In addition, you can set the oebps.sms.failonerror property to TRUE for suspending a workstep when SMS sending fails. The oebps.conf file is located in the OEBPS_HOME\conf directory.
You must update the oebpssms.properties file in the OEBPS_HOME\conf directory with the SMS gateway provider details.
The Alert is added to the table in the Properties view.
* Associating an alert with an overdue action