Item not processed from Agent Queue
SummaryUsers queued items in their custom queue class derived from the System-Queue- class.
The items should be processed by an agent and create cases. Items were not being picked up by the standard application agent.
Error MessagesNot Applicable
Steps to Reproduce
- Create a class derived from System-Queue- class.
- Queue the items by using Queue-for-Agent method.
- Observe that the items are queued in but are not processed.
Root CauseQueuing was not configured correctly.Properties like pyMinimumDateTimeForProcessing and pyItemStatus should be set before calling Queue-for-Agent method.
ResolutionPerform the following local-change:
If the Custom class does not have direct inheritance from System-Queue-DefaultEntry, then use of the Java API is recommended.
// Get a queue manager instance
String itemid = tools.getThread().getQueueManager().enqueueDeferred(myStepPage);
tools.getPrimaryPage().putString("pxRefQueueKey", itemid);Refer to the Pega Help topic, https://pdn.pega.com/sites/default/files/help_v721/procomhelpmain.htm#methods/queue-for-agent/queue-for-agent.htm, the section Other System-Queue- classes.
Published December 2, 2016 - Updated March 23, 2017