Advanced Navigation

Array-Based Navigation#

You may need to guide a user through a dynamic sequence of steps in your form. The order and # of steps that any given user sees may be different and calculated in real time.

Setup#

  1. Create connections in your visual editor from the step right before the dynamic sequence to each step in the dynamic sequence that may change. Steps that are always connected to one another can be connected normally.
  2. Set a condition on each of these connections. if <arrayVariable> = <curStepID>
  3. From the code integration, call context.setValues({<arrayVariable>: [<order of connection steps to access>]}) before the user accesses the first step of the dynamic sequence. The flow will then follow the step order you passed in.