Flushing Instances on a Queue
This operation is used to quickly delete all completed Job instances that have been dispatched to a specific Queue. Rather than delete each Job instance individually you can simply flush the Queue. When you flush a Queue you lose all Job history concerning the flushed Jobs. Since this operation may result in the deletion of Job instances (if there are any), you will receive a confirmation request if completed Job instances ran on the Queue you are flushing.
To flush a Queue, you must hold “Manage” access permission on the Queue object.
A flush instances operation will delete all completed Job instances that have been associated with this Queue. Prior to ActiveBatch Version 6, the flush operation also deleted all Job definitions as well. This is no longer the case when invoked from ActiveBatch Console. However, you should be very cautious when flushing a Queue since no undo operation is provided.