SetOnErrorEmailHandler

Description

The SetOnErrorHandler makes it possible to send error mails of a process instance to a dynamic receiver. I.e. email addresses can be stored directly in the handler's parameter errormail and a smartform variable respectively. Error mails are now sent to the stored email address, not to the assigned group's email address.

If the process variable in the smartform is left empty, the error mail will be sent to the assigned group's email address.

Class

com.dooris.bpm.actionhandler.SetOnErrorEmailHandler

Event Type

Any

Action Name

Any

Mandatory fields

Empty

Parameter

errorMail

The parameter errorMail stores the email address that will receive the process instance's error mails. Here you can store multiple email addresses in the following format.

errorMail=error@tim.de,critical.error@tim.de

errorMail can also store a process variable. If the process variable is left empty, error mails are sent to the assigned group's email address.

errorMail=${myErrorMail}

Example

Store an email address directly in the errorMail parameter

Store a process variable in the errorMail parameter

Process variable in the smartform

When using type=“email”, users can only enter one email address in the input field

Input field in the smartform

Dependencies

Available since Tim v5.3