Thank you for your feedback.
Form temporarily unavailable. Please try again or contact docfeedback@servicenow.com to submit your comments.

Cancel a workflow with the cancelContext(context) script

Log in to subscribe to topics and get notified when content changes.

Cancel a workflow with the cancelContext(context) script

To cancel an executing workflow, you can use the cancelContext(context) script. This script can be useful in cases where a workflow must be canceled in response to an event or where a user must manually cancel a workflow.

About this task

For more information, see the API reference.

Feedback