Configure Rules

Before you proceed to configure rules, Oracle Field Service requires credentials for Oracle Analytical Cloud Service in order to access the application and update the database.

To complete configuring rules:

  1. Navigate to (URL: your_host/am/).
  2. Open the Assets screen.
  3. Create two rules as follows:
    1. Create RULE 1: The first rule will trigger an alert with low severity when an asset notifies that it needs service. When the device that is linked with the asset generates Alert message with urn:com:oracle:iot:cellTower:serviceNeeded then it sends a system alert to the integrated system. This resulting alert is generated by a system built-in device of model "Device Model for System Alerts".

      Set the following values to complete the configuration of the first rule:

      • Name: Service needed

      • Apply to: Asset Type is cell_tower_type

      • Condition: Alert = "service Needed - urn:com:oracle:iot:cellTower:serviceNeeded"

      • Fulfill when: "All condition apply"

      • Generate: "Alert"

      • Alert Details:

        • Summary: Service is needed for the tower

        • Suppression (minutes): 1

        • Severity: Low

        • Inclusions:

          • Source attributes: unchecked

          • Context information: unchecked

          • Message payload: unchecked

      • To summarize, Rule 1 specifies that when a device linked with the asset generates an alert message with urn:com:oracle:iot:cellTower:serviceNeeded then the Device Model for System Alerts model generates an alert and sends it to the integrated system.

    2. Create RULE 2: The second rule will trigger and alert with critical severity when an outage is identified. For example the outage is reported when the "Voltage" reported by the cell tower is less than 90 Volts. It is possible to set more complex rules.

      To configure this rule, use the following attributes:

      • Name: Outage

      • Apply to: Asset Type is cell_tower_type

      • Condition: "sensor/cell_tower/Voltage" Less Than 90

      • Fulfill when: "All condition apply"

      • Generate: "Alert"

      • Alert Details:

        • Summary: Power outage on cell tower

        • Suppression (minutes): 1

        • Severity: Critical

        • Inclusions:

          • Source attributes: unchecked

          • Context information: unchecked

          • Message payload: unchecked

Results:

After you configure rules, remember:
  • Rules set conditions on asset sensor or KPI values.

  • When a rule condition is met, the associated alert, warning, or incident is triggered.

  • Only alerts can be sent to the integrated system. Hence, alerts are triggered.