Open topic with navigation

TIBCO iProcess® Engine 11.10.0

# Delete Messages From a Queue

To delete one or more iProcess messages from a queue, use the following command:

`swadm delete_messages` `queue_id``` `ALL [EXP]|``message_id``|-f``` `file_name`

where

| • | `queue_id` is the unique identifier of the queue containing the messages which you want to delete. You can find a queue’s identifier using the `show_queues` command. Enter ALL to delete the messages in all queues.

| • | `EXP` is an optional parameter used with Oracle databases only. Use it to delete all the Oracle exception messages in the queue. If this parameter is not specified, only normal messages will be deleted on an Oracle system, with other types of databases, all types of messages are deleted.

| • | `message_id` specifies the ID of the message that you want to delete. The following example deletes an exception message from queue 1:

`swadm delete_messages 1 291E84BA-A898-4D6A-A812-A76BE108B21D`

| • | `-f``` `file_name` `i`dentifies a text file that contains one or more message-IDs for deletion. The file must be located in the`` `SWDIR``/util` directory. Message-IDs are separated from each other by a return character. If the beginning of a line has a semi-colon (;) character, that line is treated as a comment and all the content in the line is omitted.

## Example

The following command deletes the specified message from queue 5:

    swadm delete_messages 5 AB87DAEF-CEAD-4EC2-A44B-6F5DF716E4D6

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO iProcess® Engine

Copyright © 1994-2025. Cloud Software Group, Inc. All Rights Reserved.