IBM BPM, V8.0.1, All platforms > Administer applications and processes in the runtime environment > Manage processes and their components > Administer BPEL processes and human tasks > Manage the lifecycle of task instances > Viewing task escalations
Sending emails for escalations
When a task becomes overdue, it might result in an escalation.
You can set up your system to send emails to designated people to inform them about the escalation.
The following rules apply to escalation emails:
- Your people directory provider must support the specification of email addresses, such as Lightweight Directory Access Protocol (LDAP) or virtual member manager.
- The Everybody, Nobody, Group and Users by user ID people assignment criteria are not supported.
For example, use User records by user ID instead.
Procedure
- In Integration Designer, perform the following actions for the task in the Human Task editor.
- Under the task settings in the Details tab of the properties area, edit the value of the People directory (JNDI name) field.
Set the value of this field to one of the following:
- bpe/staff/samplevmmconfiguration
- bpe/staff/samplevmmconfiguration
- The people directory configuration name (JNDI name) of your choice.
- Under the escalation settings in the Details tab of the properties area, set the value of the Notification type field to E-mail.
- Optional: Specify text for the body of the email that is sent for the escalation.
To insert a variable to include task specific information into the text, click Add Variable and select an appropriate variable from the list. In the editor, the variable will appear between "%" characters, but will be replaced when it is evaluated during execution in the runtime environment when the email is sent.
If you do not specify any text, the default message text is used.
- In the administrative console for Process Server, perform the following actions.
- Ensure that the simple mail transfer protocol (SMTP) host is set. If authentication is enabled, set the User ID and password for the SMTP host.
In the administrative console, click Resources > Mail > Mail Sessions > HTMMailSession_nodeName_serverName to check this setting, or Resources > Mail > Mail Sessions > HTMMailSession_clusterName if Business Process Choreographer is configured on a cluster. The SMTP host is defined on the cell level.
- Ensure that the sender email address (Sender e-mail address) that you specify when you configure the human task manager is a valid email address.
In the administrative console, click Servers > Application servers > server_name to check this setting, or Servers > Clusters > cluster_name if Business Process Choreographer is configured on a cluster. On the Configuration tab, in the Business Integration section, click Business Process Choreographer > Human Task Manager.
What to do next
If a problem occurs with escalation emails, check the SystemOut.log file for error messages.