WF Queue Backlog

Description

Categories
Enginatics
Repository
GitHub
Number of messages per Workflow Business Event System queue table, correlation id and state, with the age of the oldest message.

A large number of Ready messages with an old Oldest Message shows that the agent listener, notification mailer or Workflow Background Process serving the queue is down or cannot keep up. The correlation id contains the business event or notification message name, and for WF_DEFERRED_TABLE_M the item type processed by the Workflow Background Process.

SQL 24 lines

Parameters 4

ParameterTypeList of values SQL
Exclude ProcessedLOV
x.state<>2
Message Count FromNumber
x.message_count>=:message_count_from
Oldest Message Hours FromNumber
x.oldest_message<=sysdate-:oldest_message_hours/24
Queue TableLOV
x.queue_table=:queue_table