====== ProcessVariableSetter ====== ==== Description ==== This is a simple [[:en:software:tim:actionhandler|handler]] used to set the [[:en:software:tim:process_variables|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. == > From TIM-Version [[:software:tim:changelog:tim345|3.4.5]] on, the name and value may also contain [[:en:glossar#process_variable|process variables]].\\ > A list of the pre-defined variables found in TIM can be found [[:en:faq:variableshelper|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 [[http://www.christian-klisch.de/java-simpledateformat.html|Simple Date Format]] can be passed. For example: ${NOW,dd.MM.yyyy HH:mm:ss} {{ :software:tim:actionhandler:processvariablesetter2.png }} The result of this example is: 02.10.2013 13:10:09 ---- ==== Example ==== {{ :software:tim:actionhandler:processvariablesetter.png?direct& }} ----