Creating an Automated Task

You can create an automated task from the Event Viewer. The automated task you create can be based on the class of a selected event in the Working Queue of the Event Viewer, or you can create it from a different class or other criteria. Task requirements, along with other details about configuring and executing each task, are provided in the details about each task.

Perform the following steps to create an automated task:

  1. To create an automated task based on the class of an event in the Event Viewer, select the appropriate event in the Working Queue of the Event Viewer. Then, click Automated Tasks  >  New with Selected Event from the pull-down menu in the Event Viewer. Creating an automated task with this method defines the value for the class event filter constraint, and provides default values from the selected event in the Add Event Filter Constraint dialog box, which you will use in a later step.

    To create an automated task based on a different class or other criteria, click Automated Tasks  >  Open from the pull-down menu in the Event Viewer. Then, click the New button in the Automated Tasks dialog box.

  2. In the Add Automated Task dialog box, type a name and description for the automated task.
  3. You can perform the following operations with event filter constraints in the left scrolling list. When an event that matches all of the event filter constraints is received, the tasks defined in the right scrolling list are run in the order they are listed.
    Add
    Click the Add button to add an event filter constraint. The Add Event Filter Constraint dialog is displayed. You can define the criteria that an incoming event must meet for the automated task to run.
    Edit
    Select an event filter constraint and then click the Edit button to modify it. The Edit Event Filter Constraint dialog is displayed. You can modify the criteria that an incoming event must meet for the automated task to run.
    Delete
    Select an event filter constraint and then click the Delete button to delete it.
  4. You can perform the following operations with the tasks in the right scrolling list:
    Add
    Click the Add button to add a task to run as part of the automated task. You can have multiple tasks defined within an automated task. The Task Execution dialog is displayed. Select a task and configure its options. Click the OK button when you are done configuring each task. The configured task is added to the right scrolling list.
    Edit
    Select a task and then click the Edit button to modify it. The Task Execution dialog is displayed. Modify the options for the task. Click the OK button when you are done modifying each task.
    Delete
    Select a task and then click the Delete button to delete it from the automated task.
  5. When you are finished creating the automated task, click the OK button in the Add Automated Task dialog box to save the automated task.

See Also