This documentation supports an earlier version of BMC Helix Operations Management.To view the documentation for the latest version, select 23.3 from the Product version picker.

Example: If change event does not exist, drop the related task event


Scenario

Suppose you want to drop an incoming task event if the related incident change event does not exist for a third-party application.

To drop an incoming task event, perform the following steps:

  1. Define the event selection criteria.
  2. Build the policy workflow.

Actions involved

  • Unless
  • Function

To define the event selection criteria

  1. Select Configuration > Event Policies and click Create.
  2. In the Event Selection Criteria, define a condition to select events from the third-party application (with the custom event class).

The following image illustrates how the event selection criteria will look.

custom class event sel.png

To build the policy workflow

On the Advanced Enrichment page, perform the following steps to build the policy workflow:

  1. Add the Unless action. Under the Unless Settings, define a condition to check if the incident change event exists.
    Unless settings Sep_2021.png

  2. Add the Function action to drop the incoming task event, if the change event does not exist.
    Unless function settings Sep_2021.png

Results

The resulting policy workflow drops an incoming task event if the related incident change event does not exist for a third-party application as shown in the following image:

Unless workflow_Sep_2021.png