Skip to main content
Version: SaaS

Variables

Understanding Variables

Variables are system parameters used to represent a dynamic value.

Some variables, such as Classification or Body, which will hold, respectively, the classification of the current incident or the text of the message that triggered an event, are built-in. You may customize your own list of variables to comply with your own system requirements and use the parsing mechanism to set the variable values as a new event is retrieved by Resolve Actions Express. The variables may then be used by workflow activities. Their values may be updated upon every new instance of an incident, or only upon the first instance. The value may also be changed using the Memory Set activity by selecting the Global type variable.

note

To learn more about events, incidents and parsing refer to Understanding the Resolve Actions Express Data Flow.

The following table sets out Resolve Actions Express' built-in variables:

VariableDescriptionUpdate Method
BodyThe body of the triggering messageEvery new instance
ClassificationThe classification (type) of the new IncidentThe first instance
DestinationThe recipient of the triggering messageThe first instance
DeviceThe originating device of the incidentThe first instance
EventNameThe device or service of the incidentThe first instance
ExternalIDThe external application event IDEvery new instance
FirstInstanceIndicates whether or not it is the incident's first instance.The first instance
HTMLBodyThe HTML body of the triggering messageEvery new instance
InformationThe information of the triggering messageEvery new instance
OSOperating system of the deviceEvery new instance (this variable is set by default. If an invalid OS is reported then it will be set to Windows 2003 Server).
ProcessThe process of the new IncidentThe first instance
ReturnValueThe returned Value of the last workflow activityEvery new instance
ServiceThe service of the new incidentThe first instance
SeverityThe severity of the new incidentThe first instance
SiteThe site of the new incidentEvery new instance
SolutionThe solution of the new incidentEvery new instance
SourceThe source of the triggering messageEvery new instance
StateThe state of the triggering messageEvery new instance
SubjectThe subject of the triggering messageEvery new instance
SystemThe system of the new incidentEvery new instance

Choose Repository > General and open the Variables list. The following window is displayed:

Managing Variables

The variables list provides the following information:

ColumnDescription
TypeVariable type: Text (), Table (), or Password ()
NameVariable name
Variable valueString value or Table indicator
ModeUpdate method

To add a variable:

  1. Click the plus icon.
    The Variables properties window appears.
  2. Enter the variable's Name.
    For example: "Counter".
  3. In the Value field, you can enter the variable's initial value.
    This value will or will not change according to its usage.
  4. From the Mode field choose one of:
    • Set Variable's Value Only When Incident is Created—The variable is set only once during the incident's lifecycle—to the data received with the event responsible for the incident's creation. Any updated values incoming with other events considered to be part of the same incident, are ignored.
    • Set Variable's Value on Every Incident Update—The variable updates its value every time a new event is received, where one of the pre-parsed properties has the same name.
    • Read-Only Mode—The variable is a constant that cannot be changed.
    • Read-Write Mode—The variable can be modified during a workflow run.
  5. In Type, determine whether the format of the variable:
    • Text—Use for string-type data values.
    • Table—Typically used by workflow activities from the Tables category.
    • Password—Use for sensitive string-type data like passwords. These variables' values are masked in the UI and logs and only provided in full to activities or triggers that reference the variable. Note that even though internally activities have access to the unencrypted value, they are prevented from printing or showing it.
  6. If the variable holds a table, the table properties will appear:
  7. Set the number of rows and columns and, optionally, the names of the columns.
  8. Click Save.