Difference between revisions of "Script To Work With Global Variables"

From Observer GigaFlow Support | VIAVI Solutions Inc.
Jump to: navigation, search
(Created page with "Get a global, if not available use the default provided actions.getEventGlobal(String key,String adefault) Create a global variable (this will overwrite any existing value) ...")
 
Line 1: Line 1:
Get a global, if not available use the default provided
+
Global variables in the event scripting engine allow you to share variables across systems
 +
 
 +
Get a global, if not available use the default provided and add save that for future use.
 
  actions.getEventGlobal(String key,String adefault)
 
  actions.getEventGlobal(String key,String adefault)
  

Revision as of 09:22, 5 May 2022

Global variables in the event scripting engine allow you to share variables across systems

Get a global, if not available use the default provided and add save that for future use.

actions.getEventGlobal(String key,String adefault)

Create a global variable (this will overwrite any existing value)

actions.setEventGlobal(String key,String value)

Remove a global variable

actions.removeEventGlobal(String key){