System Variables

Variables

Variables can be used in many places, e.g. in Mail Texts, ActionHandler, or in the tim.properties.

Variables are always marked with ${name_of_the_variable}. System variables always have the prefix SYS.


System Variables

System variables can be used, when the context allows it. The following variables are therefore not always available:

${SYS.PROCESSDEFINITION_NAME}

Returns the name belonging to the current process definition.

${SYS.PROCESSINSTANCE_NAME}

Returns the name belonging to the current process instance.

${SYS.PROCESSINSTANCE_ID}

Returns the unique ID (number) belonging to the Processinstance. Attention: No connection to YearIdGenerator

${SYS.PROCESSINSTANCE_DESCRIPTION}

Returns the description belonging to the current Processinstance

${SYS.PROCESSVARIABLELOG}

Returns a list of the used process variables.

${SYS.DOC_HISTORY}

Returns the document history of one processinstance. Contains user, time and date as well as the type of operation (create, edit, delete).

${SYS.TASK_NAME}

Returns the current taskname.

${SYS.NODE_NAME}

Returns the current activity name.

${SYS.TASK_ID}

Returns the unique ID belonging to the current task.

${SYS.NODE_ID}

Returns the unique ID belonging to the current activity.

${SYS.TASKLINK}

Returns the link to the current task.

${SYS.TASK_DESCRIPTION}

Returns the description belonging to the current task.

${SYS.CLIENT_NAME}

Returns the current tenant name.

${SYS.CLIENT_ID}

Returns the unique ID belonging to the current tenant.

${SYS.BASELINK}

Returns the link, which is composed of tenant profile (Application-Host + Port) and /tim/client/.

${SYS.ROOTLINK}

Returns the link, which is composed of tenant profile (Application-Host + Port).

${SYS.NOW}

Returns the current server time.

${SYS.SEZ}

Returns the LFT (Latest Finish Time) of the current task.

${SYS.RECIPIENT_GROUP_NAME}

Returns the group's name, which should receive this mail. (Notifications at notes)

${SYS.RECIPIENT_NAME}

Returns the user's username, which should receive this mail. (Notifications at notes)

${SYS.RECIPIENT_FIRSTNAME}

Returns the user's first name, which should receive this mail. (Notifications at notes)

${SYS.RECIPIENT_LASTNAME}

Returns the user's last name, which should receive this mail. (Notifications at notes)

${SYS.CURRENT_USER_NAME}

Returns the current user’s name

${SYS.CURRENT_USER_FIRSTNAME}

Returns the current user’s first name

${SYS.CURRENT_USER_LASTNAME}

Returns the current user’s last name

${SYS.CURRENT_USER_ID}

Returns the current user’s ID

${SYS.CURRENT_USER_EMAIL}

Returns the current user’s e-mail address

${SYS.CURRENT_USER_PHONE}

Returns the current user’s phone number

${SYS.CURRENT_USER_PERSONNEL_NO}

Returns the current user’s personell number

${SYS.CURRENT_USER_COMPANY}

Returns the current user’s company name

${SYS.CURRENT_USER_COMPANY_ID}

Returns the current user’s company ID

${SYS.CURRENT_USER_COSTCENTER}

Returns the current user’s cost center

${SYS.CURRENT_USER_DEPARTMENT}

Returns the current user’s department

${SYS.CURRENT_USER_COUNTRY}

Returns the current user’s country

${SYS.CURRENT_USER_GROUPS}

Returns the current user’s groups

${SYS.CURRENT_USER_DEPARTMENT_CHIEF_NAME}

Returns the user name of the current user’s department chief

${SYS.CURRENT_USER_DEPARTMENT_CHIEF_FIRSTNAME}

Returns the first name of the current user’s department chief

${SYS.CURRENT_USER_DEPARTMENT_CHIEF_LASTNAME}

Returns the last name of the current user’s department chief

${SYS.CURRENT_USER_SUPERVISOR_NAME}

Returns the user name of the current user’s supervisor

${SYS.CURRENT_USER_SUPERVISOR_FIRSTNAME}

Returns the first name of the current user’s supervisor

${SYS.CURRENT_USER_SUPERVISOR_LASTNAME}

Returns the last name of the current user’s supervisor

${SYS.CURRENT_USER_LANGUAGE}

Returns the current user’s language setting

Â