Data: Set variable value

Find and replace text within a state variable value.

Help Centre › Functions & Formulas

Find and replace text within a state variable value.

Add it to a process

In the process designer, open the Add step tab. Find Set variable value under Data, or type its name in the search box, and drag it onto the canvas.

Fields

FieldRequiredWhat it does
VariableYesName of the variable where the result will be stored
Match confidenceYesThe minimum match confidence (0-1). Higher values require a closer match Default: 0.9.
KeysNoRows of the repeating band. Persisted as the sibling arrays app.keys, app.operators, app.values.

See all Data steps.

Tips

  • Use this to map values, e.g. change 'Y' to 'Yes' and 'N' to 'No'.
  • Conditions are evaluated in order; the first match is applied.

Related functions

Get started

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or have your first automation working in 7 days.