Triggering Outcomes on Intercepted Data
  • 20 May 2022
  • 1 Minute to read
  • Dark
    Light

Triggering Outcomes on Intercepted Data

  • Dark
    Light

Article Summary

Overview

This tutorial demonstrates how to create user action and how to trigger outcomes to handle intercepted data in Decisions. To prevent the process Flow from stopping when invalid data is intercepted, trigger Rule Set outcomes on intercepted data automatically and send invalid data on a different branch than the main Flow.

Example

In this example, a Rule handler action will be created and evaluate data in a Flow.  

  1. Begin in the Rule Set Folder and click Setup on the actions bar. In the OUTCOME OPTIONS category, enter "Notify Type" in the Defined Outcome Pathsfield and click SAVE.
    Creating an outcome path will also create a user action. Right-clicking on an intercepted data will display the outcome path in bold.


  2. Click ADD RULE on the actions bar and select Evaluation.
  3. Name the Rule (Display If Horse) and click CREATE RULE.
  4. Configure the Rule to evaluate if the pet type equals horse. Under the [RULESET OUTCOME PATH] on the Properties panel, click the Outcome Path On True and select Notify Type. On the Outcome Path On False, select Done. Then, click Save and close the Rule Designer.
  5. Navigate to the Interceptor Rule Folder and open the main Flow (Pet Rule Flow). Click the Notify Type path and add a Show Popup step.
  6. Under the INPUTS category, select Unknown next to the Subject field and select Select From Flow. Select Pet Type [String] and click DONE. Then, enter "This is a Notification" for the Message field.
  7. Connect the Done path of the Show Popup step to the End step. Then, click Save to save changes to the Flow.


Debug

  1. On the top action panel, click Debug
  2. Enter "5" in the Age field and "Horse" in the Pet Type field. Then, click START DEBUGGING.
    After the Rule Set Runs it will evaluate the data and either go down the Done pathway or the Manually Approve pathway.



Was this article helpful?