======= WriteLastTaskFinisherInVariableHandler =======
==== Description ====
The WriteLastTaskFinisherInVariableHandler saves user information (i.e. email, id, name, and firstname) of the user that completed a task to process variables.
------
==== Handler Class ====
com.dooris.bpm.actionhandler.WriteLastTaskFinisherInVariableHandler
==== Event Type ====
node-leave
==== Action Name ====
any
==== Mandatory Fields ====
empty
==== Parameter ====
== lastFinisherVariable ==
Name of the variable that will contain the captured user information.
== userAttribute (optional) ==
Here you 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 comma-seperated within the **userAttribute** parameter.
In version 5.5 the values **Vorname** and **Nachname** have been replaced by **firstname** and **lastname**. The old values will still work in existing processes, but are depricated.
----
==== Example ====
== 1. Example ==
lastFinisherVariable=mail_user \\
userAttribute=Email \\
\\ Created process variable \\
mail_user=Hans.Muster@firma.de \\
== 2. Example ==
lastFinisherVariable=mail_user \\
userAttribute=Email,ID \\
\\ Created process variables: \\
mail_user_Email=Hans.Muster@firma.de \\
mail_user_ID=543 \\
== 3. Example ==
lastFinisherVariable=mail_user \\
userAttribute=Email,Name,firstname,lastname \\
\\ Created process variables: \\
mail_user_Email=Hans.Muster@firma.de \\
mail_user_Name=Hans.Muster \\
mail_user_firstname=Hans \\
mail_user_lastname=Muster \\
{{ :software:tim:actionhandler:WriteLastTaskFinisherInVariableHandler.png }}
----