Creating Rules From Intercepted Data
  • Updated on 06 Oct 2016
  • 2 minutes to read
  • Print
  • Dark
    Light

Creating Rules From Intercepted Data

  • Print
  • Dark
    Light

This tutorial demonstrates how to create Rules based on Intercepted Dat a after an Intercept Rule has been created. Intercept Rules make it possible to evaluate data that has already been run in a rule as well as adding any additional rule needed to evaluate past data and new data. This data can be viewed in theRule Set Results Folder.

Set up an Interceptor Rule:
Interceptor Rules

Example
Rule Sets Result Folder
In this example use***Intercepted Data*** to add an Interceptor Rule, begin in the Rule Set Results Folder.
Intercept.jpg

With Intercepted Data record selected on the Intercepted Results Report select Add Rule > Intercept on the Folder Actions Panel.
Note: The option to add an Evaluation Rule can be done in the same way that you add anInterceptor Rule.
interceptrule.jpg

Next, give the new Intercept Rul e a name, Name the Rule and select Create Rule to proceed to the Rule Designer . This Intercept Rule will apply to the whole Rule Set.
2018-11-02_095746.jpg

Rule Designer
In the Rule designer begin creating anInterceptor Rule. This Rule will evaluate whether theAge is5 and if the age of the pet is 5 it will evaluate true. 
In the Rule Set Results, select one of the results from the Intercepted Data. Right-click and selectAdd Rule or choose Add Rule from the action panel at the bottom of the page. The Add Rule action gives you the option to either run anEvaluation rule or run anIntercept Rule. In the Rule Set Results Folder the data related to the selectedIntercept Rule data will show in theFlow Data as theRule Phrase is being built. The phrase builder will show how the current Intercept Data would evaluate for the specific instance.
111.jpg

Choose the correct verb for the Rule from the options in the drop-down list. The Rule Phrase evaluates against the Intercepted Data
equals.jpg

In the Value for the Rule Phrase under Inputs select Constant and define a constant number forAge . The constant is defined as 5.
555.jpg

Sample Data
In the Rule designer view all pastIntercept rule data and how they evaluated by selectingSample Data on the right side action panel. Select Rule Set Data and then select one of the data sets that have already been evaluated. This example shows that a 0year old bird has been evaluated as False.
o-bird-old.jpg

Links
Interceptor Rules

Was this article helpful?