Using Rule Steps in a Flow
  • 19 Jul 2022
  • 1 Minute to read
  • Dark
    Light

Using Rule Steps in a Flow

  • Dark
    Light

Article Summary

Overview

Rule Steps evaluate a data input and return an outcome of True or False. This outcome path depends on how the input satisfies the conditions, that the Rule(s) contain. Rule Steps can contain custom or preexisting Rules as long as they have been saved in a folder that is visible to the user. Rule Steps can be found in the Toolbox panel.

Prerequisite

  • A Rule must be created.

Example

The following example will run a Rule that evaluates if the user enters a specified name (Matt) and will display the result in a popup.  

  1. In a Designer Project, click CREATE FLOW from the Global Action Bar. Select Flow, name the Flow, and click CREATE.
  2. Click the Done path on the Start step. Select the Run Rule step and click ADD.
  3. On the Properties panel, click PICK OR CREATE RULE. Click PICK under Pick Existing and select a Rule. Click PICK.
  4. Click the Done path. Select the Show Popup step and click ADD.
  5. On the Properties panel under the INPUTS category, enter "Result is". Click Unknown next to the Message field and select Select From Flow. Select Result and click DONE.
  6. Connect the Done path to the End step. Select the Run Rule and enter "Matt" in the Name field.
  7. Click Save to save changes to the Flow.


Debug 

  1. On the top action bar, click Debug. Click START DEBUGGING. 
  2. After the debugger runs, for the following example, a popup is displayed that evaluated the input added for the Rule.



Was this article helpful?