This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:software:tim:actionhandler:processvariablesetter [2016/01/19 16:41] amanda.zens |
en:software:tim:actionhandler:processvariablesetter [2021/07/01 09:52] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | FIXME **This page is not fully translated, yet. Please help completing the translation.**\\ //(remove this paragraph once the translation is finished)// | + | FIXME **This page is not fully translated, yet. Please help completing the translation.** \\ |
+ | //(remove this paragraph once the translation is finished)// | ||
+ | ====== ProcessVariableSetter ====== | ||
+ | ==== Description ==== | ||
- | ======= ProcessVariableSetter ======= | + | This is a simple [[:en:software:tim:actionhandler|handler]] used to set the [[:en:software:tim:process_variables|process variables]]. |
- | This is a simple [[en:software:tim:actionhandler|handler]] used to set the [[en:software:tim:process_variables|process variables]]. | + | |
+ | ---- | ||
- | ------ | ||
==== Action Class ==== | ==== Action Class ==== | ||
+ | |||
<code> | <code> | ||
com.dooris.bpm.actionhandler.ProcessVariableSetter | com.dooris.bpm.actionhandler.ProcessVariableSetter | ||
</code> | </code> | ||
- | \\ | + | |
---- | ---- | ||
- | ==== Parameter ==== | + | |
+ | ==== Parameter ==== | ||
== name == | == name == | ||
- | Name of the parameter being set, i.e. boolaccepted | + | |
+ | Name of the parameter being set, i.e. boolaccepted | ||
== value == | == value == | ||
- | The value that the variable should assume. Can also be a place holder: ${year}_${persnr} | ||
- | == replaceTokensInValue == | + | 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!\\ | 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. | Default is set to true. | ||
- | == writeDateInVariable == | + | == > From TIM-Version [[:software:tim:changelog:tim345|3.4.5]] on, the name and value may also contain [[:en:glossar#process_variable|process variables]].\\ |
- | 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. | + | > A list of the pre-defined variables found in TIM can be found [[:en:faq:variableshelper|here]]. == |
- | + | ||
- | + | ||
- | > 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} == | == 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. | + | 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} |
- | 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 }} | + | {{ :software:tim:actionhandler:processvariablesetter2.png }} |
The result of this example is: 02.10.2013 13:10:09 | The result of this example is: 02.10.2013 13:10:09 | ||
---- | ---- | ||
+ | |||
==== Example ==== | ==== Example ==== | ||
- | {{ :software:tim:actionhandler:processvariablesetter.png?direct |}} | + | |
+ | {{ :software:tim:actionhandler:processvariablesetter.png?direct& }} | ||
---- | ---- | ||
+ | |||