You are on page 1of 2

Agents

Agent:-

Agent is internal background process or requestor, which


gets associated with

1) Schedule 2) Activity 3) Access Group 4) Mode.

Agents wakes up at the schedule time and executes its


Associated activity.

When an agent wakeup, it will run on the associated access


Group.

PRPC has a predefined master agent ‘System Pulse’, which wakes


up all the user created agents at their schedule time.

Agent is an instance of Rule-Agent-Queue whereas agent


Schedule is an instance of Data-Agent-Queue.

Modes Of Agent: - There are 3 different modes available.


1) Legacy 2) Advanced 3) Standard.
1) Legacy: - This mode is been deprecated from PRPC version
5.4.

Advanced Agent :-
a) When an advanced wakes up at schedule time it will directly
excecutes agent acitivty with out bothering about Agent Queue
Items.
b) Usually we will create advanced with out applying AQM (Auto
Queue Management) and these agents will be configured to run
on Single Node.
c) In an advanced Agent Work Object locking and Transactional
Commit must be taken care by our self.
3) Standard Agent :- Standard Agent will be applied with AQM.
AQM (Auto Queue Management) :- This programme is responsible
for instructing the agent weather to excecute associated agent
activity or not.
When the Queue Items are there, standard agent will excecute
agent activity else it will not excecute activity thus goto
sleep.
Queue Items can be put into agent queue table PR_SYS_QUEUES by
using the method/activity
Queue-For-Agent/QueueForAgent.
When the standard agent wake it will excecute the agent
activity ‘N’ number of times(with status=scheduled) where ‘N’
is the number of Queue Items in the PR_SYS_QUEUS table.
A queue is associated with the below status values.
1)Scheduled :- This is initial status when a queue is been
selected into the table and which gets process by agent during
next run.
2)Now-Processing :- This means that the Queue is picked by
agent and is being processed.
3) Broken-Queue:- When Queue items fails in its processing,
the status will be updated to
Broken-Queue.
How to Trace An Agent :-
Login to SMA –> Agent Mngt –> Agents –> Select Agent which we
want to trace
–> click on Delay –> Now the agent will be delayed for 60
seconds.
Goto Raquestor Mngt –> Search with Agent name and see for a
requestor with description, Waiting upto 60 seconds…
Now get the Requestor name of this agent.
Open the tracer, click on remote trace, in the drop down
choose above requestor and click ok.
For the next agent run we can see the tracing the remote
tracer.
*Standard agents can be configured to run on multiple nodes
where as advanced agent we generally configure on a single
node.
Standard agents used to process WOs where as advanced agents
are used to perform a raw functionality(which does not involve
work object process

You might also like