Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

Advanced Agent Standard Agent

1. Agent Will woke up by Master agent Agent Will woke up by Master agent System
System Pulse at schedule Time Pulse at schedule Time
2. Agent When wake up, it directly When agent wakes up, it looks up
executes agent activity. PR_SYS_QUEUE table, for an item with status
Scheduled.
3. Agent activity gets executed only once Agent activity gets executed 0 – N number of
per wake up. Once activity is times per wake up. If the queue has 10 items
completed, agent will go to sleep. activity will be executed 10 times.
4. We need to write both business and We are required to write only business logic.
transaction logic. Transaction logic will be taken care by Process
commander.

5. This mode of agent is recommended This mode of agent is for transactional


for non transactional processing processing.
6. This agent will get sopped when an This agent is going to update the queue item
exception occurs. status to “Broken-Process” if an item
processing fails…
It is going proceed processing remaining items
after current item.
7. Agent gets executed on the access Agent activity gets executed on Requestors
group mentioned in agent rule form. access group who had kept the queue item in
If we do not mention any access group, queue table.
it runs on guest access group.

8. Is recommended to run on single node. Can run on multi node.


In order to avoid locking issues (Dead Here, Agent on each node going to pick
Lock situations) and redundant different queue items. Let’s say we have 4
processing. nodes, agent on node one picks queue item 1,
similarly other node agent picks the other
queue items.
Here all 4 queue items will be processing
parallels.

Locking of Queue items, Updating the status,


deleting queue items will be handled by
process commander. This is called Auto Queue
Management.

Items which are failed will go into Broken Queue


If at all any items fails, after fixing the issues, we can select the item and click on the button

Re-Queue.

Once we click on re queue status will be updated to schedule and the item will be picked and
processed during next wake up.

You might also like