MailByProcessVariableHandler

Description

The ActionHandler is implemented on all activities to be escalated. It sets the escalation time and itself as the method to be called if the escalation comes into effect (method handleEscalation).

The corresponding timer is the performEscalationForNodesTimerWithLimit.

Attention! This handler allows only one escalation per activity. If more escalations are necessary, the MailReminderHandler can be used.

This handler does not use a business calendar.


Class

com.dooris.bpm.actionhandler.MailByProcessVariableHandler

Parameter

Parameter name

Default value

Description

Valid examples

Parameter name

Default value

Description

Valid examples

mailSubject

 

This parameter determines the subject of the email to be sent.

Completion of ${processVariable} not performed in specified time

mailText

 

This parameter specifies the text of the email to be sent. Use „\n“ to enter a line break, and ${variablenName} to reference a variable.

Dear Ladies and Gentlemen, \n
\n
Representative: ${exampleRepresentative} \n
Location: ${exampleLocation} \n
Factory: ${exampleFactory} \n
\n
The Company System

mailTo

 

This parameter defines the receiver of the escalation email. For this, a variable name without a # or $ must be entered.

Possible contents of the variable are:

  • swimlane (Exampleswimlane): The user to which the swimlane is assigned receives the email. If no user is assigned, all the users from the group that is assigned to the swimlane will be notified.

  • group (Examplegroup): All users in this group receive the mail.

  • user (Exampleuser): Only this specific user receives the mail.

  • exampleaddress@mail.com, exampleaddress2@mail.com: Only one email address, or multiple email addresses that are separated by a comma. Fixed addresses and variables cannot be combined!

A combination of the possibilities listed above is not possible! Sending to multiple addresses, separated by “,” or “;” is possible

 

fieldMailTo

 

May be used as an alternative to mailTo. Here, a variable is used as the receiver.

variablePersonInChargeControlling

fieldDuration

 

The fieldDuration defines the time span in which the email should be sent.

Possible values are:

  • s (Seconds)

  • m (Minutes)

  • h (Hours)

  • d (Days)

  • w (Weeks)

  • mon (Months)

  • y (Years)

4m