Can you control the number of tasks that will be processed in every pool action, or all the ready tasks are returned in that polling when the WF Service Agent is set in polling or events mode?
book
Article ID: KB0090754
calendar_today
Updated On:
Products
Versions
TIBCO BusinessWorks Collaborator
-
Not Applicable
-
Description
Resolution: You can use FLOW_CONTROL and JOB_LIMIT parameters to affect how many tasks are acquired and worked on by WFSA.
The service agent does NOT acquire more number of tasks than what is specified in the MaxJobs. Once the current job execution count reaches the value specified in MaxJobs, it stops acquiring new tasks. It sleeps for a second and checks again for the current job execution count. The sleep interval can be configured in a java system property "com.tibco.workflow.serviceagent.flowControl.retryInterval" in milliseconds.
Issue/Introduction
Can you control the number of tasks that will be processed in every pool action, or all the ready tasks are returned in that polling when the WF Service Agent is set in polling or events mode?