Global Variables

To Create a New Global Variable:

  1. Open the Workbench and expand your project, then the Connected Field Service node, then the Variables node. Right-click on the Global Variables node. You will have the option of creating either a Static Variable or an Automatic Variable, as shown below. You could also choose to create a separate variable folder at this point.

Adding a Global Variable from the Project Explorer in the Workbench

 

-OR-

 

Select the Global Variables node, then click on either the Add Static Variable or Add Automatic Variable button, shown below, in the Edit section of the Home ribbon in the Workbench.

 

Add Static Variable Button

 

Add Automatic Variable Button

Static Variable

  1. This opens the Static Variable properties, shown below. Enter a name in the Name text entry field.

Static Variable Properties

 

General Settings

Variable Dataset

Specify valid name and type for the column Window

Right-clicking on a column provides multiple options including adding a new column, creating a copy, renaming, removing, or increasing/decreasing its index.

 

Right-click Column Options

Automatic Variable

Selecting "Automatic Variable" opens the Automatic Variable properties, shown below. Enter a name in the Name text entry field.

 

Automatic Variable Properties

 

General Settings

Automatic Variable Settings

  1. You can click Apply to save your Global Variable (Static or Automatic) properties and Close to return to the Workbench. Your new Global Variable will now appear in the Project Explorer, beneath the Global Variables node.

See Also:

About CFSWorX