Define step completion rules in Flows

Prev Next

Step Completion Rules in a Flow helps you define when Whatfix must stop displaying one step and then show the next step of the flow. For example, users move to the next step when they click the next button, on refreshing the page, on selecting an option from a dropdown menu, and more.

Use the following steps to define step completion rules:

  1. Log in to the application where you want to create content, and then launch the Whatfix Studio.
    CLM_editor plug in2

  2. Click Flow.
    Studio_Click_Flow

  3. Enter the name of the Flow as you want it displayed to the users.
    Studio_Enter_Flow_Name

  4. Click Add Step.
    Studio_Click_Add_Step

  5. Under Choose step type, select the Flow step type.
    Switch over to the Flow step types from the dialog box that appears

Note:
  • With the Flow enhancement feature, you have the option to select two types of Flow steps, and not just element latching Flows. A dialog box appears on the application to highlight the two types of Flows. Under Choose step type, select a Flow step based on your requirements: either Attached to element or Free-floating.

Studio switcher enables you to switch between 2 flow types: element-attached flow types and free-floating flow types

Attached to element Free-floating
When you select this type of Flow step, it remains attached to an element on your application. When you select this type of Flow step, it remains flexibly positioned devoid of any element attachment.
  • You also have the option to select a default template by clicking Set as Default for all the subsequent steps in a Flow. If you change the default step at an enterprise (ENT) level, it appears the same for all the users using that ENT.

  • For more information, see Free-floating Flows and Create a Free-floating Flow step.

  • Free-floating Flows is currently Beta. Contact support@whatfix.com for more information.

  1. Click the desired element on the page that the user needs to select.
    Create_Flow_Leads_Click
  1. Under the Configurations tab, scroll down to the Step Completion Rules section and select Manual option.
    2024-10-18_10-22-29.png

  2. Select the desired rule from the dropdown menu.
    Editor_flow_step_rules

  3. To add additional rules, click the Add Rule button and select the desired rule.
    2024-10-18_10-23-22.png

  1. Click Save Step to finish creating the step, and then continue creating the Flow.
    Studio_clicksavestep

Important:

The Step Completion Rules for Free-floating step type are of only two types:  There are only 2 types of step completion for free-floating flows on Studio

What does the step type mean?

On click of “next”

On page refresh (in case of change in URL)

The next step is displayed when the "next" button in the tooltip is clicked. This is used when users have to select multiple options using a checkbox or in text fields, and then move to the next step after giving inputs.

The next step is displayed when the users refresh the page. This is used in payment pages after successful payment where the page automatically refreshes.


Expand the following accordion(s) for more details:

List of step completion rules in Flows

Rule

Description

On click of “Next” button

The next step is displayed when the "next" button in the tooltip is clicked. This is used when users have to select multiple options using a checkbox or in text fields, and then move to the next step after giving inputs.

On click of selected element

The next step is displayed when the users click the selected element. This is used when the tip is created on a clickable button, link or HTML element. The flow expects the user to click on the element to move to the next flow step.

On hovering over selected element

The next step is displayed when the users hover the cursor over the selected element.

On page refresh (in case of change in URL)

The next step is displayed when the users refresh the page. This is used in payment pages after successful payment where the page automatically refreshes.

On typing text (for text boxes)

The next step is displayed when the users stop typing for a couple of seconds. This is used on text boxes where users enter values like sign up page, login page, and any other pages where users input is required.

On selection change

The next step is displayed when users click the selected element in a drop-down or set of options. This is used when users are expected to click an element in a drop-down (in the collapsed state) or from a given set of options.

On Right Click of Mouse

The next step is displayed when users do a right-click on the mouse. This is used when users are expected to click an option after right-clicking on a page.

On Keyboard - Enter, Tab, or Esc

The next step is displayed when users click Enter, Tab, or Esc keys on the keyboard.

On click of another element

On click of another element is a Flow step completion rule that helps a step to advance when a user interacts with a secondary UI element instead of the one the tooltip is anchored to. The rule supports non-linear workflows and complex layouts where multiple elements on an application page perform the same action. This ensures that regardless of which path the user chooses, the Flow recognizes the successful action and proceeds to the next step without breaking. For more information, see How does On click of another element rule work in Flows?

Note:

On click of another element is currently Beta. Contact support@whatfix.com for more information.

Find a Step completion rule using an action

The step completion rules that are available are automatically limited by the kind of step completion rule you select. We've done this to limit the scope for errors that result in flow failures.

Action

Suggested Step Completion Rule

Selecting an element in a drop-down

On selection change

Selecting an option from a set of options

On selection change

Clicking a button

On click of selected element

Clicking an icon, text, or any element

On click of selected element

Selecting multiple options using checkbox

On click of next button

Entering value in a text or number field

On click of next button

Selecting an element in a drop-down that opens automatically when the cursor is hovered over it

On hovering over selected element

Select an option after doing a right-click on mouse

On Right Click of Mouse

Closing a pop-up using the Esc key

On Keyboard - Esc

Saving the form using the Enter key

On Keyboard - Enter

Combination of Step Completion Rules

The step completion rules that are available are automatically limited by the kind of step completion rule you select. We've done this to limit the scope for errors that result in flow failures.

Step Completion Rules

Combination of Rules

On click of "next" button

On click of selected element

On hovering over selected element

On typing text

On selection change

On Right Click of Mouse

On Keyboard - Enter

On Keyboard - Tab

On Keyboard - Esc

On click of selected element

On click of "next" button

On Keyboard - Enter

On hovering over selected element

On click of "next" button

On Keyboard - Tab

On page refresh (in case of change in URL)

NA

On typing text

On click of "next" button

On Keyboard - Enter

On Keyboard - Tab

On selection change

On click of "next" button

On Keyboard - Enter

On Right Click of Mouse

On click of "next" button

On Keyboard - Enter

On click of "next" button

On click of selected element

On typing text

On selection change

On Keyboard - Tab

On Keyboard - Esc

Info:

If there is a "default" selection (pre-selected value) while selecting a dropdown element, a change in selection is mandatory for step completion.

Privacy Policy | Whatfix Glossary | Whatfix Platform Status
Copyright © 2024 WHATFIX TM. All rights reserved.