Building Rules

Before a Rule can be tested or used, the code in the Rule needs be converted to executable code. This is done by the Rules Engine Build code compilation process. This process can be initiated:

  • From an individual Rule using the Rule Action Build on the Define Rule page.

  • In batch using the Build Rules process, where you can build multiple Rules simultaneously.

Building a Rule from the Define Rule Page

Access the Define Rule page (Set up SACR, and then System Administration, and then Rules Engine, and then Rules Engine Manager, select Search for a Rule, Define Rule).

Select the Update Status Information Action to display the current Rule Build Status.

Then, select the Build Action to open the Rule Builder page, select the Rule, and click the Build button to compile the Rule:

This example illustrates the fields and controls on the Rule Builder Page. You can find definitions for the fields and controls later on this page.

Rule Builder Page

If the Rule Build Status is updated to Build Successful, you may proceed to testing the Rule. Otherwise, consult your Rule for Current Logic. A flaw in Rule Logic may be the issue.

Building Multiple Rules at the Same Time

Access the Build Rules page (Set up SACR, and then System Administration, and then Rules Engine, and then Setup, and then Build Rules).

Select any search parameter fields you want to use to search for Rules you want to build and click the Search button. If you click the Search button without making any parameter selection, all Rules are returned.

Select the Rules you want to build and click the Build button.