On August 11, 2023, Cisco announced that Cisco SecureX will go end-of-life on July 31, 2024. The content in this Github repository will not be actively maintained following this announcement.

Global Variables

Global variables are useful when you want to:

  • Store information between runs of a workflow; or
  • Share information between multiple different workflows.

Orchestration workflows don’t have any concept of persistence; as in, the second time a workflow runs it doesn’t know anything about the first time. Global variables can be used to bridge this gap by storing information that persists.

In some instances you may want multiple workflows to share information. A common example is an API key or Webex room name.


Creation

Global variables are created and managed under the Variables section of orchestration. All variables listed on this page are global variables.

To create a new global variable, simply click the New Variable button and fill in the form. Refer to the data types page for more information about the various data types available.


Usage

Using a global variable within a workflow is the same as using any other variable: click the puzzle piece icon in a field and use the variable browser to select the variable you want:

You can also use the standard Set Variables activity to update the value in a global variable within a workflow.