Automation Center Documentation

Aborting a Process Launched by a Task

From OpsWise Documentation Wiki

image:pdficon_small.gif Open as PDF

You can instruct the system to abort a process under certain conditions. For example, you may want to abort a task if it is running too long. For demonstration purposes, we will set a Sleep task to run for 60 seconds and specify an Abort action if the task runs longer than 45 seconds.

  1. Create a new Sleep task that will run for 60 seconds. Enable Late Finish, specify a Late Finish Type of Duration, and enter 45 seconds.
  2. image:sleep task late finish.gif

  3. Save the task and click the Actions tab.
  4. Click New and select Abort Action.
  5. Enable On Late Finish and click Submit.
  6. image:abort action.gif

  7. Launch the Sleep task.
  8. Navigate to the Activity screen. After 45 seconds, the task goes to Finished status.
  9. Click on the task instance to display details. Note the status description indicates:
  10. State was forced from RUNNING to FINISHED 
    

    image:aborted sleep task.gif


image:sb15-1.gif


Return to First Look menu.


For additional information, see:

Personal tools