Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


Adding a Custom Action Script to an Event Rule


You use the Rule Wizard to add a custom action script that runs in response to a custom rule event.

To create a new rule, you must have the Offenses >Maintain Custom Rules permission.

You can test rules locally or globally. A local test means that rule is tested on the local Event processor and not shared with the system. A global test means that the rule is shared and tested by any Event processor on the system. Global rules send events to the central Event processor, which might decrease performance on the central Event processor.

  1. Click the Offenses tab.
  2. On the navigation menu, click Rules.
  3. From the Actions list, select New Event Rule.
  4. In the Rule Test Stack Editor page, type a unique name for this rule in the enter rule name here field in the Rule pane.
  5. From the list box, select Local or Global.
  6. Add one or more tests to a rule:
    1. To filter the options in the Test Group list box, type the text that you want to filter for in the Type to filter field.

    2. From the Test Group list box, select the type of test you want to add to this rule.

    3. For each test you want to add to the rule, select the plus (+) sign beside the test.

    4. To exclude a test, click and at the beginning of the test in the Rule pane.

      The and is displayed as and not.

    5. Click the underlined configurable parameters to customize the variables of the test.

    6. From the dialog box, select values for the variable, and then click Submit.

  7. To export the configured rule as a building block to use with other rules:
    1. Click Export as Building Block.

    2. Type a unique name for this building block.

    3. Click Save.

  8. On the Groups pane, select the check boxes of the groups to which you want to assign this rule.
  9. In the Notes field, type a note that you want to include for this rule. Click Next.
  10. On the Rule Responses page, click the Execute Custom Action check box and select your script from the Custom Action to execute drop-down list.
  11. Click Next.
  12. Review the Rule Summary, and then click Finish.