Set Primitive Variable

Assign a value to a primitive (simple) variable, in which the variable represents a single, discrete value.

Properties

Node LabelType an informative name for the Set Primitive Variable node. You can keep the system-provided default of "Set Primitive Variable" if you wish.

DebugSelect Debug if you want to receive debug data when the node executes.

Variables to Set

Specify the variable.

  • Scope — Choose the scope in which to set the variable's value. This is the environment, or set of conditions, within which the variable and its value are relevant.

    • Runtime Scope

    • Incident Scope

  • Variable Name — Choose an existing variable from the pulldown.

  • Set Another Variable — Click to add Scope and Variable Name fields for an additional variable.

Template to Assign Value to Variables

Assign a value to the variable.

  • Template — Type an expression to set the value of each variable you specified above.

  • Output Data Example — Preview the output this value assignment will produce.

Runbook Compatibility

Incident, Lifecycle, On-Demand, External (Webhook), Subflow