IBM Support

What is NextTaskQInterval configured at Agent configuration level? 

Question & Answer


Question

What is NextTaskQInterval configured at Agent configuration level?

Answer

Next Task Queue Interval attribute is available in the Agent Criteria Details at the Agent Configuration level in the Configurator.

It specifies in hours for how long to suspend a failed task before considering it for reprocessing. This defaults to 5 hours.
E.g., if one sets the Next Task Queue Interval to 3, then the getJobs message will be something like this:
<Message FlowName="SomeFlowName" TransactionKey="SomeTransactionKey">
<AgentDetails>
<MessageXml Action="Get" NextTaskQInterval="<strong>3</strong>" NumRecordsToBuffer="5000"/>
</AgentDetails>
</Message>
Now, if the agent fails with some exception while processing a message, then the system fires the following query:
2009-10-28 17:52:40,146:SQLDEBUG:Thread-13_<SomeFlowName>: Executing sql [update /*YANTRA*/ YFS_TASK_Q set AVAILABLE_DATE = '20091028205240',LOCKID=1,MODIFYTS = '20091028175240',MODIFYUSERID = '<SomeUserID>',MODIFYPROGID = '<SomeFlowName>' WHERE LOCKID =0 AND TASK_Q_KEY='<SomeTaskQKey>'

In this case, the system sets the AVAILABLE_DATE as SYSDATE+3 (NextTaskQInterval).

[{"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Not Applicable","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

FAQ3457

Document Information

Modified date:
16 June 2018

UID

swg21517975