Discussion
1
Replies
615
Views
Posted: March 17, 2015
Last activity: March 20, 2015
Closed
Standards Agent Deque option
We have a scenario where we want to remove some entries from agent processing after its queueed for agent processing. Let us know what are the options.
We are using prpc 6.3 Sp1 for it!
When we queue a case to a standard agent for processing, it creates an entry for the table corresponding to the class System-Queue-DefaultEntry.
If you need to de-queue an entry, it is same as removing (Obj-Delete) the particular instance of System-Queue-DefaultEntry(Please see the xml of any System-Queue-DefaultEntry instance to know the property in which it has the pzInsKey of actual case).
This is applicable only if the standard agent has not executed the agent activity on the case.
If the entry is already processed or being processed, we cannot de-queue as the entry will be removed immediately after processing.
We can even use the pega API to add some methods that can be used for de-queing which are present in PRQueueManager interface:
void
delete
(java.lang.String aItemId)
Delete an item immediately from the queue by Item ID.
void
deleteDeferred
(java.lang.String aItemId)
Delete an item from the queue by Item ID.
ClipboardPage
dequeue
(java.lang.String aItemId)
Return one specific item from the queue by Item ID.
ClipboardPage
dequeue
(java.lang.String aItemId, StringMap aOptions)
Return one specific item from the queue by Item ID.
ClipboardPage
dequeueForUpdate
(java.lang.String aItemId)
Return one specific item from the queue by Item ID.