WriteLastTaskFinisherInVariableHandler

Description

The WriteLastTaskFinisherInVariableHandler saves user information (i.e. email, id, name, first name, and last name) of the user that completed a task to process variables.


Class

com.dooris.bpm.actionhandler.WriteLastTaskFinisherInVariableHandler

Parameter

Parameter name

Default value

Description

Valid examples

Parameter name

Default value

Description

Valid examples

lastFinisherVariable

 

Name of the variable that will contain the captured user information.

user_email

userAttribute

 

Here the user can define which user information will be captured in the process variable. The available values are Email, ID, Name, firstname, and lastname. To capture multiple values (e.g. email, first and lastname), the values have to be a comma separated within the userAttribute parameter.

Email,ID,Name

Example

1. Example

lastFinisherVariable=mail_user
userAttribute=Email

Created process variable
mail_user=john@doe.com

2. Example

lastFinisherVariable=mail_user
userAttribute=Email,ID

Created process variables:
mail_user_Email=john@doe.com
mail_user_ID=543

3. Example

lastFinisherVariable=mail_user
userAttribute=Email,Name,firstname,lastname

Created process variables:
mail_user_Email=john@doe.com 
mail_user_Name=john.doe 
mail_user_firstname=John 
mail_user_lastname=Doe