The emptyqueue command deletes all work items from the indicated queue in the current isolated region. These work items are removed from the database immediately upon execution of the emptyqueue command; the work items are not processed according to their Terminate workflow maps or instruction sheets before removal.
The emptyqueue command also deletes all records that are associated with the removed work items, such as WaitForCondition information or timeout records.
You cannot empty a queue if you do not have access to the queue or work items in the queue. For more information about access to queues and work items, see About security workflow.
Parameter | Description |
---|---|
queuename | Name of the queue to empty. If you specify a system or user queue, you must enter the queue name followed by (0). For example, to view information about the Delay system queue, enter Delay(0). |
confirmation | Enter Yes to perform the action, or No to
do nothing. Important: You must enter the answer exactly
as indicated. In this case yes or y is
not the same as Yes.
|