How do I cancel a scheduled process that's triggered using Groovy?
This topic covers how you force cancel a scheduled process.
To cancel a scheduled process:
-
Navigate to
. - Select the scheduled process in the Search Results table, and click Cancel Process.
Cancel a Process Running on a Schedule
- Find the original submission, the row with the process ID you got when you submitted the process. The row should be the parent node when you view the search results in a hierarchy, and the status should be Wait.
- Click Cancel Process.
When you cancel this original submission, you cancel any current and future runs based on the schedule you had set.
What to Do If Processes Take a Long Time to Cancel
Sometimes it takes a while for a process to finish canceling. So, you can use the Actions menu to end it. The option you get depends on the process.
Option | Description |
---|---|
Hard Cancel | To end the process shortly after you canceled it, without waiting for the cancellation to finish by itself. |
Force Cancel | To end a process that has been canceling for over 30 minutes but isn't done yet. |
Processes on Remote Servers
Option You Used to End Your Process | Field that Shows the Status of the Remote Process | Status of Process on Remote Server |
---|---|---|
Force Cancel | Remote Process Status |
|
Hard Cancel | External Job Status |
|