Skip to content

SetVariable element

Schedules a “search” that sets a variable to the given value.

Attributes

After

string

Id of the search that this one should come after.

Condition

string

Condition for evaluating the search. If this evaluates to false, the search is not executed at all.

Id

string

Id of the search for ordering and dependency.

Type

VariableType

Type of the variable, inferred from the value if not specified. This attribute’s value must be one of the following:

  • string: A literal string.
  • formatted: A string that may contain Variables.
  • numeric
  • version

Value

string

New value for the variable. This string gets formatted, then converted to the specified type, then assigned to the variable. Leaving Value and Type unspecified will clear the variable.

Variable

string required

Name of the variable in which to place the result of the search.

Parents