/
Working with Rules

Working with Rules

Enable a Rule

A Rule can only be enabled if the Formula and Fault Logic have been created.

  1. From the Mega Navigation, select Rules.

  2. In the Enable/Disable column, select the Enabled slide. You can also select the ellipsis icon to the right of the rule, select Manage, and select the Enabled slide.

Manage a Rule

  1. From the Mega Navigation, select Rules.

  2. To the right of a Rule, select the ellipsis icon.

  3. Select Manage.

  4. Edit the rule fields as needed.

  5. Select Save.

K2A Rules cannot be edited, however, you can create a rule based on a K2A Rule. See Modifying a K2A Rule for more information.

Recalculate a Rule

Recalculation allows you to re-run the Rule for a period of past data. This is especially useful if Formula or Fault Logic updates have been made. This also allows you to write a new Rule and then calculate when the targets would have been in Fault, based on historical data. A recalculation of Rules will also recalculate Scoring.

  1. From the Mega Navigation, select Rules.

  2. To the right of a Rule, select the ellipsis icon.

  3. Select Recalculate Rule.

  4. Type RECALCULATE, to confirm.

  5. Mark the checkbox to be notified by email when the recalculation is complete.

  6. Select Save.

Recalculating a Rule is a background process and may take several minutes to complete before fault data is available.

Debug a Rule

Use the Rule Debugger to determine why a rule contains an error.

  1. From the Mega Navigation, select Rules.

  2. To the right of a Rule, select the ellipsis icon.

  3. Select Debugger.

  4. The Rule Debugger page displays the following information:

    • Date/Time: Defaults to the current day's 24-hour time frame. You can edit the Start and End Dates/Times.

    • Timestamp: Displays the timestamp for the rule failure.

    • Correlation ID: Displays the correlation ID for the logged error.

    • Error Message: Displays the error message. If truncated, select the ellipsis icon and then select View Full Error Message.

Duplicate a Rule

  1. From the Mega Navigation, select Rules.

  2. Select the ellipsis icon.

  3. Select Duplicate.

Disable a Rule

  1. From the Mega Navigation, select Rules.

  2. In the Enable/Disable column, select the toggle to disable the rule.

Delete a Rule

  1. From the Mega Navigation, select Rules.

  2. To the right of a rule, select the ellipsis icon.

  3. Select Delete.

  4. Confirm that you want to delete the rule by selecting Yes.

View Rule Targets

  1. From the Mega Navigation, select Rules.

  2. To the right of a Rule, select the ellipsis icon.

  3. Select View Targets.