You must have a solid working knowledge of Oracle SOA Suite, Oracle BPM Suite, and Oracle Business Rules before modifying any business rules. For information on these products, see:

- Oracle Fusion Middleware User's Guide for Oracle Business Rules
- Oracle Fusion Middleware Administrator's Guide for Oracle SOA and Oracle Business Process Management Suite

Oracle Public Sector Incident Reporting uses the Compare Incident Threshold Matrix Decision Table, in the Compare Incident Threshold Ruleset, to determine whether a sufficient number of incidents are similar enough to be related. This decision table includes conditions and actions as its rows and rules as its columns. The rules test the values of the conditions and set corresponding values for the actions. The rules must account for all possible combinations of values of all conditions in the table. Bucketsets and globals are used to set pre-defined values for certain rules.

Upon submission of an incident report, the rules engine tests each condition. If a combination of condition values matches a rule, the corresponding actions are taken. The Compare Incident Threshold Matrix Decision Table provides the details for each condition, its rules, and the actions to execute. Following the table is an example scenario explaining how an incident report is processed based on the given condition.

Compare Incident Threshold Matrix Decision Table

The Incident Threshold is set to three and there have been four arson incidents in the same city in the last 24 hours. These arson incidents are flagged as related.

To change the Incident Threshold, reset the Incident Threshold global. By default, Incident Threshold is set to 2.

For details about the comparison logic that determines incident similarity, see Understanding the Search Similar Incidents Ruleset.

You can modify the existing ruleset, conditions, or actions. Take caution before modifying a condition or action, it can require source code changes. Incident processing fails if this ruleset is deleted. To modify the ruleset, conditions, or actions, see "Editing Rules in an Oracle Business Rules Dictionary at Run Time," in Oracle Fusion Middleware User's Guide for Oracle Business Rules.