Back ForwardAgents — Concepts and terms

Concepts and terms

Many PRPC functions rely on processes that operate in the background, performing computations and updates on behalf of the applications and their users.

An agent is an internal background process operating on the server on a periodic basis.  Agents route assignments according to the rules in your application; they also perform system work such as sending email correspondence and notifications about assignments, generating updated indexes for the full-text search feature, synchronizing caches across nodes in a multiple node system, and so on.

Each system includes these standard agents rules:

Pega-AutoTest
Pega-EndUserUI
Pega-ImportExport
Pega-IntSvcs
Pega-ProcessEngine
Pega-ProCom
Pega-RuleRefactoring
Pega-RULES
Pega-RulesEngine

Additional standard agents may be present if you have add-on features or components installed.

You can create additional agents to process requests that are queued for background processing by your application logic.

NoteYou cannot add background processing activities to the standard agents; instead, create new agents rules that run your agent activities.

Agents rules (instances of Rule-Agent-Queue) hold lists of agents activity. Only one agents rule can be defined in each RuleSet. After determining which RuleSet your new agent belongs to, determine whether an agents rule is already defined for that RuleSet.  If an agents rule exists, add your agent activities to the existing rule. If an agents rule is not yet defined for that RuleSet, create a new agents rule for that RuleSet and add your new agent information to it.

Agents are implemented through two facilities:

An agents rule provides a template that specifies the global settings for that agent on all nodes.  To modify the configuration settings for an agent, open the generated agent schedule object for a specific node and modify the settings in the agent schedule.

The Agent Manager is a master agent that gathers and caches the agent configuration information set for your system when PRPC starts. Then, at a regularly scheduled interval, it determines whether any new agents rules were created during the last period. If there are new agents rules, the Agent Manager adds them to its list of agents and generates agent schedule data instances for them for each node. The Agent Manager also notices when updates are made to existing agents rules or agent schedules.

You can use the Agent Management link in the System Management Application to monitor and control agent processing. (For details, see the System Management Application Reference Guide.)

For more information, see PDN articles Overview of Agent Processing and How to create an agent.

Definition master agents, node, Queue Manager
Definitions About Agents rules
About Agent Schedule Data instances
Understanding the Pega-AutoTest agents
Understanding the Pega-EndUserUI agent
Understanding the Pega-DecisionEngine agents
Understanding the Pega-ImportExport agents
Understanding the Pega-IntSvcs agents
Understanding the Pega-ProcessEngine agent
Understanding the Pega-ProCom agents
Understanding the Pega-RuleRefactoring agent
Understanding the Pega-RULES agents
Understanding the Pega-RulesEngine agent
Understanding the Pega-SecurityVA agent
Queue-for-Agent method
Standard rules Atlas — Standard Agents

UpConcepts