Open topic with navigation

TIBCO iProcess® Engine 11.9.1

# Prioritizing Messages

You can now set priorities ranging from 1 to 999 (where 1 is the highest priority) for internal message queues when passing messages between iProcess processes such as from the background and the WISes, or from SSOLite to the BG processes. The default message queue priority is 50.

Use the SW_SET_PRIORITY control procedure to set the internal message queue priorities and the SW_UNSET_PRIORITY control procedure to restore the default message queue priorities.

The messages with higher internal message queue priorities are processed earlier than those with lower priorities, and the message with the highest priority is automatically the next message processed, even if there is a backlog in the queue.

If the internal message queue priorities are not set, the messages will be processed in the order of `SW_CP_VALUE` or `SW_IP_VALUE` when using iProcess Workspace (Windows) to process work items.

Note | When using SSOLite stored procedures to start a case or to trigger an event, the following rules determine which message queue priority settings should be used for processing messages:
| • | If the value of the `SW_CP_VALUE` field is set, the message will be processed in the order of `SW_CP_VALUE` regardless of the message queue priority that is set by using the `SW_SET_PRIORITY` control procedure.
| • | If the `SW_CP_VALUE` field is not set, the message will be processed in the order of the message queue priority that is set using the `SW_SET_PRIORITY` control procedure.
| • | If both the `SW_CP_VALUE` field and the `SW_SET_PRIORITY` control procedure are not set for the message priority, the message priority will be set to the default value of the `SW_CP_VALUE` field, `50`.
See TIBCO iProcess Modeler Advanced Design for more information about the `SW_CP_VALUE` field.

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