Question
1
Replies
3462
Views
Capgemini
Posted: November 29, 2017
Last activity: November 29, 2017
How to queue an standared Agent ? And can we able queue standared Agent without Queue-For-Agent method ?
Hi All,
I have a question that, can we able queue the standared Agent without using system queue?. I mean Queuing an standared with custom table means our table. Not system queue.
Can any please provide your view and thoughts here. Thanks in advance.
Hi Chiranjeevi,
You can create a custom queue class and a table in DB for you to queue items to it. For queueing entries into the custom table, you'll have to use the code which resembles the one below:
tools.getThread().getQueueManager().enqueueDeferred(myStepPage);
The step page for the above java code should be an instance of the custom-queue class. The agent class must be the custom-queue and the activity must be present in the same.
Hope this helps.
-Ravi