Next Topic

Previous Topic

Book Contents

getVariableUniversalCreate()

Gets a variable that persists outside of the immediate procedure's execution. This can be useful for passing a variable to another agent procedure using the scheduleProcedure() step. You store values in three variables: #global:universal1#, #global:universal2#, and #global:universal3#. You can enter either string data or variables created in an earlier step. Variables created using this step can only be read after using the getVariableUniversalRead() step in any subsequent step. The three variables are specific to each agent machine. You can optionally read the values from a different agent machine.

Operating systems supported: Windows, OS X, Linux

Example

getVariableUniversalCreate("red", "green", "blue", "All Operating Systems", "Halt on Fail")
getVariableUniversalRead(" ", false, "All Operating Systems", "Halt on Fail")
sendMessage("#global:universal1#, #global:universal2#, #global:universal3#, "Display now", "All Operating Systems", "Halt on Fail")