Content Platform Engine, Version 5.2.1            

emptyqueue

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.

Attention: The emptyqueue action cannot be undone.

Syntax

emptyqueue queuename confirmation

Parameters

Table 1. Table of parameters and description for the emptyqueue command
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.


Last updated: October 2015
bpfvl011.htm

© Copyright IBM Corporation 2015.