Expose Step as a Rule
  • 27 Jul 2022
  • 1 Minute to read
  • Dark

Expose Step as a Rule

  • Dark

Article Summary


There are many steps in Decisions that are evaluated as Rules when used as a step in a Flow. There is a setting available for Rule steps that will expose a step as a Rule with a True or False outcome; when enabled, this setting will show a True path and a False path for these rules. When this setting is disabled, the step will have a single path as an outcome “done,” and the True or False result will be returned as output data. By default, this setting is enabled for all built-in Rules.


The following example will show the differences when this setting is both enabled and disabled. This example uses the True False Rule step and demonstrates how the resulting outputs and the outcome paths differ when Expose Step as a Rule is enabled or disabled. 

This example requires knowledge of how to Create a Flow, along with an understanding of how to add steps in the Flow Designer. For more information, please visit the following articles:
  1. In the Flow Designer,  add a True False Rule step from the Toolbox > RULES category. This is a Rule step that has two outcome paths: True and False
  2. In the Properties panel, under INPUTS > Value, change the boolean mapping to Constant and change its Value from False to True
  3. Under OUTCOMES, notice the Expose Step as a Rule boolean is enabled.
  4. Connect True and False lines to End Step.
  5. Select Debug in the Top Action Panel.
  7. In the resulting Debugger, right-click on the True False Rule step and select Execution 1 > View Input/Output Data. Notice in the OUTPUTS that the Rule step followed the True path, and the data brackets are empty.
  8. Select OK and close the Debugger.

Disabling Expose Step as a Rule

  1. In the Flow Designer with the same True False Rule step selected, disconnect the True and False paths from the End step.
  2. Next, under Properties > OUTCOMES, uncheck the boolean Expose Step as a Rule. Notice that the True False Rule step has a single Done path. 
  3. Connect the Done path to the End step.
  4. Save and select Debug from the Top Action Panel.
  6. In the resulting Debugger, right-click the True False Rule step and select View Input/Output Details. The OUTPUTS show the step followed the Done path, and the data brackets contain the output of the Rule.

Was this article helpful?