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: Assign event owner according to the time frame status

To conditionally enrich the event owner based on the time frame status and notify operators of the event enrichment, as an administrator, I want to use the IsActiveTimeFrame function to check the time frame status in an advanced enrichment policy.

Scenario

Sarah is an administrator at Apex Global. She wants to configure a policy that assigns events to different event owners according to the holiday calendar in their time zone. To achieve this goal, she performs the following steps:

  1. Define the event selection criteria.
  2. Create the time frame in an event policy.
  3. Build the policy workflow.


To define the event selection criteria

  1. Select Configuration > Event Policies, click Create and enter a policy name.
  2. In Event Selection Criteria, define a condition to select open events that contain the message CPU utilization exceeds 85%.

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

To learn how to construct the event selection criteria, see Creating and enabling event policies.

To create the time frame in an event policy

Create time frames according to the holiday calendar of the user's time zone. To learn about creating time frames, see Setting event policy schedules by using time frames.

For example, you could create a time frame for a user in the IST time zone and another time frame for a user in the Brisbane time zone as shown in the following images:

To build the policy workflow

The following workflow diagram gives you a high-level overview of the policy workflow creation process:

  1. In Policy Configuration, select Advanced Enrichment.

    Tip

    You can hover over an action to view the complete label for the action as shown:

  2. Click Lookup to look up existing events for which you want to assign an owner.


  3. Add the Update old events action to run the policy actions on existing events.
  4. Add a Variable action to check whether the time frame for the IST time zone is active and store the result in the TimeFrameStatusIST variable.
  5. Add another Variable action to check whether the time frame for the Brisbane time zone is active and store the result in the TimeFrameStatusBrisbane variable.
  6. Add an If action to compare the time frame status of the IST time zone.
  7. Based on the time frame status in the preceding step, in the Then part, add an Enrich action to assign the existing event to Jack.
  8. In the Else part, add an If action to compare the time frame status of the Brisbane time zone.
  9. Based on the time frame status in the preceding step, in the Then part, add an Enrich action to assign the existing event to Jim.

Results

The resulting policy workflow enriches the event owner based on the time frame status.

Without event enrichment

With event enrichment

Was this page helpful? Yes No Submitting... Thank you

Comments