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:

  1. Navigate to Navigator > Tools > Scheduled Processes.

  2. Select the scheduled process in the Search Results table, and click Cancel Process.

Cancel a Process Running on a Schedule

If you submitted a process to run on a schedule, for example once a day, you can cancel the scheduled runs even if a few runs already happened.
  1. 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.
  2. 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.

Scheduled Process Cancellation Options

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

Some processes run on a remote server. Even if the status for the process that you hard or force canceled has changed to Canceled, the process might still be running on the remote server. With the scheduled process still selected in the Search Results table, you check the status of the remote process on the Process Details tab that appears after the table.

Status of the remote process

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
  • Completed Successfully: The remote process was successfully canceled within the 30 minute grace period.

  • Running/Unknown: Your scheduled process is in a Canceled state, but the remote process is still running.

  • Terminated: Your scheduled process is in a Canceled state, and the remote process is successfully canceled after the 30 minute grace period.

Hard Cancel External Job Status
  • Completed Successfully: The remote process has successfully canceled.
  • Running/Unknown: Your scheduled process is in a Canceled state, but the remote process is still running.