Monitoring Workflow Policies Tables
This topic is part of Monitoring Workflow Policies.
Workflow Policies use three database tables for processing and tracking requests:
S_ESCL_REQ
S_ESCL_STATE
S_ESCL_ACTN_REQ
Monitor these tables to verify that policies are being processed correctly.
When a trigger fires against a Workflow Policy condition, a record
is inserted in the escalation request table, S_ESCL_REQ
. Records in this table identify rows in the database that could
trigger a Workflow Policy to take action. After the Workflow Monitor
Agent processes a request, it removes the row from this table.
The S_ESCL_STATE
time-based table identifies all
of the rows that have been executed (all conditions are true) and
are waiting for the time duration element to expire.
The S_ESCL_ACTN_REQ
table identifies all of the
rows that are awaiting action execution. These rows have violated
the policy; and the time duration element, if any, has expired.
If one of these tables (S_ESCL_REQ
, S_ESCL_STATE
, and S_ESCL_ACTN_REQ
) becomes very large, then
this could indicate that the number of policies being monitored is
too large, and new Workflow Policies processes need to be created
to share the load and improve performance.
If rows are being monitored, but are not being removed from a table after the time interval is met, then this could indicate that a policy was deactivated without removing the database triggers. The triggers are continuing to send data that is not being acted on by a Workflow Policies process. These tables will become very large if you do not restart Generate Triggers.
If you expire or delete any active Workflow Policies, confirm that
no outstanding records remain in the S_ESCL_REQ
, S_ESCL_STATE
, or S_ESCL_ACTN_REQ
tables.
Maintain the S_ESCL_REQ
, S_ESCL_STATE
, and S_ESCL_ACTN_REQ
tables by adjusting parameters
related to storage, access, and caching. See database documentation
for additional information about properly adjusting such parameters.
Also, make sure that the database administrator (DBA) is aware of
these key tables.