Creating an Auto Action Event

The steps to create a Workload XM auto action definition, which is triggered when a workload application, job, or query matches the auto action’s definition threshold. For example, when a job is taking too long to run it may delay other jobs waiting in the queue. With Auto Actions, you can create an auto action alert that informs you through an email when a job is exceeding its usual runtime so that you can decide whether to manually take steps to alleviate the problem or have an auto action that will kill the job or query process for you.

Describes how to create a Workload XM Auto Action definition.
  1. Verify that you are logged in to the Workload XM web UI.
    1. In the URL field of a supported web browser, enter the Workload XM URL that you were given by your system administrator and press Enter.
    2. When the Workload XM Log in page opens, enter your Workload XM user name and password access credentials.
    3. Click Log in.
  2. From the Workload XM Navigation side-bar, select Auto Actions.
  3. Do one of the following:
    • If no other auto actions exist, click Auto Actions Setup.
    • If other auto actions exist, click Create an Auto Action.

    The Auto Actions Create page opens.

  4. In the Auto Action Name field, enter a unique name that is easily identifiable.
  5. From the Scope list, select the workload component service that is to be monitored by the action.
    For example, if you want your action to only evaluate Spark related applications, you will select Spark Application.
  6. Define the conditions for the auto action by doing at least one of the following:
    • Specify the Criteria:
      1. From the Criteria list, select a criteria item.
      2. From the Operator list, select the required operator.
      3. In the Value field, enter the value for this filter.
    • Specify the trigger for the auto action by doing the following:
      1. From the Metric list, select a metric item.
      2. From the Operator list, select the required operator.
      3. In the Value field, enter the value for this trigger condition.
  7. From the Select Action options, select the action that is to be performed when the condition is met.
  8. From the Notification section do the following:
    1. In the Emails field, enter the email address that you use to log into Workload XM.
    2. In the Subject field, enter the subject for the email that distinguishes the subject matter from other auto action emails.
  9. Click Create, which creates the action and its audit log, adds it on the Auto Actions Events and Management pages, and displays its status as Enabled and its most recent event type as Create.
When a workload application, job, or query meets the auto action's criteria and trigger conditions the action event is triggered.