Question
Queue For Agent Configuration.
Hi,
I am trying to use queue for agent activity.
For this i have called called queueforagent method in my activity with pyWorkPage as my steppage.
After running this activity item moves to Queue with Scheduled Status.
However, i tried configuring agents in different mode , traced it and facing following issue.
1.For Standard agent.
Item gets pick up from queue it calls (EstablishContext) actvity , but it Agent actvity doesn't get triggered.
With AQM checked item moves to broken queue and when unchecked item gets remove from queue.
2.For Advanced Agent.
Agent Activity gets triggered, but items doesn't get picked from queue.
Pega Version 7.1.6.
Please let me know if anyone has idea on this.
Thanks,
Nilesh
***Updated by moderator: Lochan to add Categories***
Hi,
QueueForAgent method, is used to queue the workitems, such that specified agent, picks it up and works on it,i.e It stores the request for processing a persistent object(entry) in the system queue.
As far as my understanding
1)There may be some logical error , in the agent activity, which is making the queue entry to move to broken process when AQM is checked.
If AQM is unchecked, the agent , picks up the queue item,runs the specified activity. In case it faces the error, it just discards the entry, where as if AQM is checked, if agent runs into any error during execution of agent activity, it moves it into broken-queue, which can be requeued later, by correcting the logic defined in the activity
2)Advanced Agent, just wakes up ,in the specified intervals, and runs the activity configured. There is no concept of pushing an item into queue, and picking up it from the queue, to run the activity.