Task Internal - Set Variable

Top  Previous  Next

The Set Variable allows you to create or update a Variable. Variables can be used and reached throughout the whole application. You can use this to store static or dynamic values.

 

 

clip1001

 

Name/Unique key
The name you set on the Variable is also the unique key for the Variable. Wherever you want to use your defined Variable you use this Variable key: {USERVAR(variablename)}

 

Translate to constant when running

Optional. If you, for example, use a Date Variable in the "Variable value" text box it will be converted to a string when the Variable runs the first time. For example, if you use the current date as a Variable it will always show the current date when running the Task. If this is checked, it will show the current date once and then display the same date in each execution.

 

Description

Optional. If you want to distinguish your Variable further you can add a description.

 

Variable type

Currently, 3 Variable types exist. String, Int32 and Double. Note that the Variable type may be interested to set correctly if you want to compare/calculate/validate correctly.

 

Variable value

Set the requested value of the Variable here.