This page is not fully translated, yet. Please help completing the translation.
(remove this paragraph once the translation is finished)

ProcessVariableSetter

Description

This is a simple handler used to set the process variables.

Action Class

com.dooris.bpm.actionhandler.ProcessVariableSetter

Parameter

name

Name of the parameter being set, i.e. boolaccepted

value

The value that the variable should assume. Can also be a place holder: ${year}_${persnr}

replaceTokensInValue

If the replaceTokensInValue is set to be false, then the content of the given variable will not be resolved at the time of creation!
Default is set to true.

writeDateInVariable

By default, this option is set to false. If this option is set to true, then a variable with the name “name_date” will be created in addition to the process variable. The time stamp of the creation time is found here. The “name_” in the variable names is replaced by the value stipulated in the “name” parameter.

From TIM-Version 3.4.5 on, the name and value may also contain process variables. A list of the pre-defined variables found in TIM can be found here.

The pre-defined variable ${NOW}

With ${NOW}, the current date can be written to a variable. If only ${NOW} is called, the format DD.MM.YYYY is returned. In addition everything supported by Simple Date Format can be passed. For example: ${NOW,dd.MM.yyyy HH:mm:ss}

The result of this example is: 02.10.2013 13:10:09

Example