Question

Queued items are not processing

Hi ALL,

I am using advanced agent and standard agent. I am queuing items from advanced agent by using below code and queue items are generated but they never get processed(always in scheduled state).

try {

// Get a queue manager instance

   String itemid = tools.getThread().getQueueManager().enqueueDeferred(myStepPage);

} catch (DatabaseException de) {

   throw new PRRuntimeException(de);

}

i am using my own queue class. In that class instances i can see the items as scheduled and they never be processed.

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Comments

Keep up to date on this post and subscribe to comments

November 19, 2015 - 8:41am

Can you post the screenshot of the agent configuration

November 19, 2015 - 7:40pm
Response to GovardhanReddy

AgentConfigScreen.PNG

November 19, 2015 - 3:37pm

Why are you hand-coding this in Java? Do you see the same behavior using the OOTB queue-for-agent method?

November 19, 2015 - 7:44pm
Response to MikeTownsend_GCS

HelpContent.PNG

in help it is suggested to use api not to use queue for agent method

November 19, 2015 - 4:47pm

DId you check the Auto Queue Management checkbox in the rule agent definition ?

November 19, 2015 - 7:45pm
Response to Venkata_D

Yes Pavan. You can see the above added Image for Agent configuration.

November 19, 2015 - 5:22pm

We had similar issue when used with custom queue class, Agent activity must be in the same class as the queue item.

November 19, 2015 - 7:47pm
Response to PraveenT

Yes the activity is in queue class.

December 11, 2015 - 1:49am
Response to SUBBARAOM

I am not passing the required parameters(Now it is working fine). Sorry for the late reply.

Thanks,

Subbarao M.

August 30, 2016 - 7:26pm

Hello,

 

I do see that java code overwritting the pyAccessgroup name property which i setup before queuing.I do not want system to take current access group.