========StarterToProcessVariableActionHandler========
Previously known as the StartToProcessVariableActionHandler - renamed in TIM [[software:tim:changelog:tim42|Version 4.2]]
==== Description ====
This [[en:software:tim:actionhandler:|handler]] adds a variable to the process. It also adds the user name of the instance starter as the value.
This variable and its values are shown in the PDF-report in the smartform area.
The default variable name is „Starter“. However, an arbitrary name may be entered into the mandatory field.
In order to assign the instance starter to a specific swimlane, the following handler may be used: [[software:tim:actionhandler:assignstartertoswimlanehandler|AssignStarterToSwimlaneHandler]]
The following variables will be generated: \\
- starter / prefix value : UserName \\
- starter / prefix value + Expression (z.B. starterExpression) : user(Username) \\
- starter / prefix value + Firstname (z.B. starterFirstname) : First name \\
- starter / prefix value + Lastname (z.B. starterLastname) : Last name \\
- starter / prefix value + Email(z.B. starterEmail) : E-mail address \\
- starter / prefix value + Department(z.B. starterDepartment) : Department \\ \\
For example:
Standard: \\
starter:MHI \\
starterExpression:user(MHI) \\
starterFirstname:Markus \\
starterLastname:Hirscher \\
starterEmail:Markus.Hirscher@example.de \\
starterDepartment:HR \\ \\
in the example under: \\
starteroptionaler_variablenname:MHI \\
starteroptionaler_variablennameExpression:user(MHI) \\
starteroptionaler_variablennameFirstname:Markus \\
starteroptionaler_variablennameLastname:Hirscher \\
starteroptionaler_variablennameEmail:Markus.Hirscher@example.de \\
starteroptionaler_variablennameDepartment:HR \\ \\
or with start_ : \\
start_:MHI \\
start_Expression:user(MHI) \\
start_Firstname:Markus \\
start_Lastname:Hirscher \\
start_Email:Markus.Hirscher@example.de \\
start_Department:HR \\
------
==== Action Class ====
com.dooris.bpm.actionhandler.StarterToProcessVariableActionHandler
\\
----
==== Event Type ====
any
==== Action Name ====
any
==== Mandatory Fields ====
Prefix -- if empty the standard starter is used as a prefix
==== Parameter ====
not necessary
----
==== Example ====
{{ :software:tim:actionhandler:startertoprocessvariableactionhandler.png }}