Difference between revisions of "Require Variable(s)"
From PresenceWiki
(2 intermediate revisions by one other user not shown) | |||
Line 3: | Line 3: | ||
The following dialog is presented after dragging a Require Variable node into your Task: | The following dialog is presented after dragging a Require Variable node into your Task: | ||
− | + | [[file:require_variables_dialog.png]] | |
− | + | ||
The three buttons beneath the list perform the following functions: | The three buttons beneath the list perform the following functions: | ||
Line 11: | Line 10: | ||
* Delete (selected) variable | * Delete (selected) variable | ||
* Sort Variables | * Sort Variables | ||
+ | |||
+ | When creating a new Variable you will be asked for the Variable name and scope. | ||
=== Load from XML === | === Load from XML === | ||
− | The allows you to load a list of Variables from a previously exported Presence Context using the [[Write Context to XML]] node. | + | The allows you to load a list of Variables from a previously exported Presence Context using the [[Context XML Nodes|Write Context to XML]] node. |
{{VariableNodes}} | {{VariableNodes}} |
Latest revision as of 13:53, 21 August 2015
The Require Variable(s) Node declares which Variables the Task will use or reference. If a Variable does not exist at runtime it will be created with a NULL value.
The following dialog is presented after dragging a Require Variable node into your Task:
The three buttons beneath the list perform the following functions:
- New variable
- Delete (selected) variable
- Sort Variables
When creating a new Variable you will be asked for the Variable name and scope.
Load from XML
The allows you to load a list of Variables from a previously exported Presence Context using the Write Context to XML node.
Task Elements > Variable Nodes > Require Variable(s)
See Also: Require Variable(s) | Set Variable | Multiple Variable Setter | Variable Unlocker