Canceling a playbook automatically
About this task
- Cancelation options
The cancellation options specify the conditions under which the playbook is automatically cancelled. You can cancel a playbook based on an evaluation of the activation conditions, or you can specify a different set of conditions.
If you do not want a running instance to be cancelled automatically, do not specify any cancellation options.
- Cancelation behavior
The cancellation behavior specifies what happens to the tasks of the cancelled playbook. You can choose to remove all tasks, remove open tasks, or do not remove any tasks.
When the playbook is designed using an object type other than Incident, you can use fields from the parent object to trigger the cancellation. However, the playbook cancellation conditions are evaluated only when a change to the child object is detected. For example, you can select incident fields for a playbook that has a Task object type, but the playbook cancellation conditions are evaluated only when changes are made to the task. The playbook is not cancelled when the incident is updated.
Some activation conditions are not valid for use with automatic cancellation. The invalid conditions are shown on the Activation details window. If you want to configure automatic cancellation for the playbook, you must remove the invalid activation conditions or cancel the automatic cancellation. If you remove an activation condition, you need to replace the condition, or at least review the remaining conditions.
When a playbook instance starts, it uses the automatic cancellation settings that are configured when the instance starts. Subsequent changes to the automatic cancellation settings do not affect playbook instances that are already running.
Procedure
Results
Functions that were started by the playbook stop processing when the playbook is cancelled.
To remove the automatic cancellation, on the Activation details window, expand the Automatic cancelation section and click the delete icon.