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 Rule 1, Rule 2, Rule 3, Rule 4, and Rule 5 in the Search Similar Incidents Ruleset, each of which includes a condition (IF) statement and an action (THEN) statement. Bucketsets and globals are used to set pre-defined values for certain rules.

The condition of Rule 1 specifies that the current incident type is not Arson and is not Burglary. The action sets search parameters to null and does not search for similar incidents.

The condition of Rule 2 specifies that the current incident type is Arson or Burglary and that the default city and state to be searched are not specified. The action searches for similar incidents based on the current incident city and globals that specify the Incident Severity, Incident State, number of Prior Days, within the Proximity Radius, and DistanceUnit.

The condition of Rule 3 specifies that the incident type is Arson or Burglary and that the default city to be searched is not specified but the state is specified. The action searches for similar incidents based on globals that specify the Incident City, Incident Severity, Incident State, number of Prior Days, within the Proximity Radius, and DistanceUnit.

The condition of Rule 4 specifies that the incident type is Arson or Burglary and that the default city to be searched is specified but the state is not specified. The action searches for similar incidents based on globals that specify the Incident City, Incident Severity, Incident State, number of Prior Days, within the Proximity Radius, and DistanceUnit.

The condition of Rule 5 specifies that the incident type is Arson or Burglary and that the default city and state are specified. The action searches for similar incidents based on globals that specify the Incident City, Incident Severity, Incident State, number of Prior Days, within the Proximity Radius, and DistanceUnit.

To change the search parameters, change the values of the Incident City, Incident Severity, Incident State, and Prior Days globals. By default, Prior Days is set to 1 and the other parameters are not specified (set to empty strings).

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.