- 13 Aug 2024
- 1 Minute to read
- Print
- DarkLight
Creating Rules From Intercepted Data
- Updated on 13 Aug 2024
- 1 Minute to read
- Print
- DarkLight
Overview
Rules can be created based on Intercepted Data after an Intercept Rule has been created. Intercept Rules make it possible to evaluate data that has already been run in a Rule and add any additional Rule needed to evaluate past data and new data. This data can be viewed in the Rule Set Results Folder.
Learn how to set up an Interceptor Rule by clicking here.
Example
This example will use intercepted data to add to an intercepted Rule.
In the Rule Sets Results folder, select the intercepted data. Then, click ADD RULE on the Folder Action bar at the bottom and select Intercept.
Name the Rule (Need Vaccinations) and click CREATE RULE.
Configure the Rule to evaluate true when the pet's age equals 5. Then, click Save.
Debug
Click Samples / Unit Tests to open the panel. Expand the Rule Set Data category. This will display all past intercepted Rule data.
Selecting one of the intercepted Rule data samples will automatically evaluate it.