Useful Information About Workflow Background Process Concurrent Program
Useful Information About Workflow Background Process Concurrent Program
Workflow Background Process is run with the help of Workflow Background Engine
which is PL/SQL Procedure which runs this concurrent program with specified
parameters.
Workflow Background Process Parameters:
o Item Type – Specify an item type to restrict this engine to activities associated
with that item type. If you do not specify an item type, the engine processes
any activity regardless of its item type.
o Minimum Threshold – Specify the minimum cost that an activity must have
for this background engine to execute it, in hundredths of a second.
o Maximum Threshold – Specify the maximum cost that an activity can have
for this background engine to execute it, in hundredths of a second. By using
Minimum Threshold and Maximum Threshold you can create multiple
background engines to handle very specific types of activities. The default
values for these arguments are null so that the background engine runs
activities regardless of cost.
o Process Deferred – Specify whether this background engine checks for
deferred activities. Setting this parameter to Yes allows the engine to check for
deferred activities.
o Process Timeout – Specify whether this background engine checks for
activities that have timed out. Setting this parameter to Yes allows the engine
to check for timed out activities.
o Process Stuck – Specify whether this background engine checks for stuck
processes. Setting this parameter to Yes allows the engine to check for stuck
processes.
Note: Make sure you have a least one background engine that can check for timed
out activities, one that can process deferred activities, and one that can handle stuck
processes. At a minimum, you need to set up one background engine that can
handle both timed out and deferred activities as well as stuck processes.
Hence if ItemType parameter is not specified the workflow background process runs
will first check for all eligible workflow activities and then run for all eligible
workflows this will result in poor performance. It is preferable to execute the
Workflow Background Process with specified ItemType.