Defines a Variable component.
Variables allow you to pass additional parameters to the executing function of an action.
They can be added to any action. However, they are mostly used by the CallSequence, CallFullSync, CustomAction and Invoke SharedAction components.
The Var value property can be set to
any fixed value in text mode (TX):
• string (without quotes): monday
• number: 2019
• boolean: true
any typescript expression in script mode (TS):
• string (with quotes): 'monday'
• number: 2019
• boolean: true
• array: ['monday','friday']
• json: {name: 'wood', age: 35}
• object: this.myObject.data
any available source shown in mobile picker, in source mode (SC):
• sequence source
• fullsync source
• iterator directive source
• form source
• global source
To access an action Variable
from any child Action property or variable, use in script mode (TS):
• stack['<action-name>'].vars.in.<variable-name>
for a CustomAction and to access its variables, use inside action code:
• vars.<variable-name>
Name | Description |
---|---|
Comment | Describes the object comment to include in the documentation report. This property generally contains an explanation about the object. |
Is active | Defines whether the component is active. |
Var value | Defines the variable value. |