Reset Variables Action

Use this action to reset variables to their default values defined in their variable definitions.

The action module for this action is vb/action/builtin/resetVariablesAction.

Parameter Name Description
variables

An array of variables. Here is an example.

["$page.variables.var1", "$page.variables.var2"]

Note:

If a single variable expression is provided instead of an array, it will be implicitly treated as an array of one variable.
Each expression in the array has to resolve to a variable or variable property. It has to be prefixed with one of the following:
  • $application.variables
  • $page.variables
  • $chain.variables

Each expression should be followed by a variable name or a path to a variable property. For example:
  • $application.variables.a
  • $page.variables.a.b
  • $variables.a.b.c (which is shorthand for $chain.variables.a.b.c)