In Pega, Work Assignment and Routing determine how tasks are assigned to the right users or teams based on predefined logic. Efficient routing ensures that work is processed by the most appropriate resource, improving productivity and meeting SLAs.
Routing is the process of assigning work to users, teams, or queues based on business logic or conditions. Pega provides several routing strategies to ensure tasks are delivered to the right individuals or work queues.
Skill-Based Routing assigns tasks to users based on their skills or competencies. This ensures that specialized work is routed to team members with the required expertise.
Scenario: Assign support tickets to agents based on their technical skills.
| Agent | Skills |
|---|---|
| Alice | Network Troubleshooting |
| Bob | Database Support |
| Charlie | Software Issues |
Routing Logic:
Role-Based Routing assigns tasks to users based on their roles or access groups in the organization.
Scenario: Approve loan applications based on roles.
| Role | User |
|---|---|
| Loan Reviewer | John, Mary |
| Loan Approver | Sarah |
Routing Logic:
Dynamic Routing determines the task recipient at runtime using business logic, decision rules, or data sources.
Scenario: Route insurance claims based on claim type and priority.
Dynamic Logic:
| Condition | Assigned To |
|---|---|
| Claim Type = “Auto” AND Priority = High | Senior Adjuster |
| Claim Type = “Health” | Health Claims Team |
| Claim Type = “Auto” | Auto Claims Team |
A Work Queue (formerly known as Workbasket) is a shared queue where assignments are pooled for a group of users. Team members can pull tasks from the queue based on priority.
Scenario: Route support tickets to a shared Customer Support Queue.
| Work Queue | Assigned To |
|---|---|
| General Support Queue | Support Team A (3 users) |
| Technical Support Queue | Support Team B (2 users) |
Workload Balancing ensures that tasks are distributed evenly among team members to avoid overloading individuals.
Tasks in a Work Queue can be automatically assigned to users based on:
Configure Routing Rules in Pega to distribute tasks fairly.
Scenario: Distribute claims processing tasks evenly among team members.
| Team Member | Current Task Count | Next Assignment |
|---|---|---|
| Alice | 2 | Yes |
| Bob | 1 | Yes |
| Charlie | 4 | No |
Logic:
Routing Strategies:
Work Queues:
Workload Balancing:
In Pega, Case Participation refers to defining roles for users who interact with cases, while Collaboration tools allow users to communicate, share information, and track changes efficiently within the case. Together, these features ensure better teamwork, accountability, and visibility across processes.
Case Participants are the users or roles involved in processing a case. Each participant has specific permissions and responsibilities depending on their role.
Case Workers:
Case Managers:
Reviewers:
External Users:
In Pega, you define participants by assigning roles to users or work groups. Roles determine what actions a user can perform within the case.
| Role | Participant | Responsibilities |
|---|---|---|
| Case Worker | Loan Officer | Collect and verify documents. |
| Case Manager | Senior Loan Manager | Approve or reject applications. |
| Reviewer | Internal Auditor | Review approved loans for compliance. |
| External User | Customer | Submit loan applications. |
Define Roles:
Assign Roles to Users:
Restrict Access:
Role-Based Routing:
Pulse is Pega’s built-in collaboration tool that allows users to communicate and share information within a case. It works like a chat or comment system to facilitate discussions and decisions.
Contextual Collaboration:
Mentions (@):
@LoanManager Please review this case.File Attachments:
Visibility Settings:
Notifications:
Scenario: A loan officer finds missing information in a customer’s loan application.
Loan Officer adds a Pulse comment:
@Customer Please upload your income statement.Manager adds a note for escalation:
@LoanManager This application needs urgent review due to missing documents.Attach files:
The Case Audit Trail is a chronological record of all user actions, system changes, and updates made to a case. It helps track who did what, when, and why, ensuring accountability and transparency.
Assignments:
Updates:
Approvals:
Comments:
SLAs and Escalations:
| Action | User | Date/Time | Details |
|---|---|---|---|
| Case Created | Customer | 2024-06-01 10:00 AM | Loan Amount: $50,000 |
| Task Assigned: Verify Documents | Loan Officer | 2024-06-01 11:00 AM | Assigned to John |
| Loan Amount Updated | Loan Officer | 2024-06-01 01:00 PM | Loan Amount updated to $55,000 |
| Task Approved | Loan Manager | 2024-06-02 09:00 AM | Approved with comments: OK |
Case Participants:
Pulse Collaboration:
Case Audit Trail:
Advanced process handling ensures that Pega applications can efficiently manage complex workflows, perform background tasks, and adapt to changing business conditions.
Background processing enables Pega to perform automated tasks behind the scenes without user intervention. It improves performance by offloading non-interactive tasks from the main user flow.
A Job Scheduler is a Pega rule used to schedule recurring tasks at specific intervals (e.g., nightly, weekly). It replaces the legacy Agent method for scheduled tasks.
Scenario: Archive completed loan applications every night.
A Queue Processor handles asynchronous tasks by placing them into a queue and processing them in the background. This allows the system to handle large volumes of tasks efficiently.
Scenario: Send confirmation emails after a loan is approved.
Change Management allows Pega processes to adapt to changing business conditions dynamically. It involves using Circumstance Rules to apply variations of rules based on specific conditions.
A Circumstance Rule is a specialized version of a rule (e.g., decision table, UI form) that applies under certain conditions.
Scenario: Adjust approval criteria for VIP customers.
Customer Type = VIP, bypass credit score verification.Customer Type = VIP). Sub-Processes allow you to break down complex workflows into smaller, reusable flows. They simplify process management and improve modularity.
A Subflow is a smaller flow that is called within a main flow to perform specific tasks.
Scenario: During loan approval, call a subflow to verify documents.
Subflows are reusable and can be invoked in multiple workflows.
The Split-For-Each shape in Pega allows you to run tasks in parallel for a list of items.
Scenario: Verify multiple documents (e.g., ID, income proof, property documents) simultaneously.
Background Processing:
Change Management:
Flows with Sub-Processes:
Error Handling and Recovery in Pega ensures that failures, exceptions, and unexpected issues in workflows or processes are handled gracefully. It minimizes disruptions, improves user experience, and maintains system reliability.
Error Handling involves detecting, managing, and resolving failures during process execution. Examples include:
An Error Handling Flow redirects a failed process or step to a specialized flow designed to manage the error.
Scenario: A loan approval step fails due to a system integration error with the credit bureau.
Main Flow:
Error Handling Flow:
Transient Failures are temporary issues like network glitches or timeouts. Retry mechanisms help ensure that these failures do not disrupt the workflow permanently.
Scenario: Fetch customer credit score via an external REST API.
Recovery ensures that failed processes or tasks are resumed and completed successfully after the root cause of the failure is resolved.
Queue Processors in Pega automatically manage retry mechanisms for failed tasks, ensuring reliable recovery.
Scenario: A Queue Processor sends confirmation emails after a loan is approved.
Effective logging and auditing are critical for diagnosing and recovering from errors.
Error Details:
Task Information:
Retry Attempts:
Resolution Path:
Scenario: Logging errors for failed API calls.
Error Handling:
Recovery:
Logging and Auditing:
In Pega, Background and System Jobs allow you to automate processes that do not require user interaction. These jobs are essential for handling backend tasks like scheduled cleanups, notifications, or high-volume processing.
Agents are a legacy mechanism in Pega used for automating background tasks. Agents run predefined activities periodically or at scheduled intervals.
Note: Agents are now considered legacy. Job Schedulers and Queue Processors are the preferred methods in modern applications.
Standard Agents:
Advanced Agents:
Scenario: Archive resolved loan applications every week.
Job Schedulers are modern replacements for agents in Pega. They allow you to schedule and run recurring tasks efficiently. Job Schedulers are cluster-aware, meaning they work seamlessly across multiple nodes.
Scenario: Generate a Monthly Loan Report for all approved loans.
Create a Job Scheduler Rule:
Configure the Task:
Queue Processors manage asynchronous tasks by placing them in a queue and processing them in the background. They are ideal for handling large volumes of work without blocking the main user interface.
Scenario: Send confirmation emails after a customer submits a loan application.
Create a Queue Processor Rule:
Write the Activity or logic to perform the task.
Add the task to the queue during runtime.
To ensure reliability and performance, follow these best practices:
We have now completed all topics in Application Design Extended:
While basic routing strategies such as route to operator, route to work queue, and route using decision logic are typically covered, it’s important to also mention the mechanism of routing to a Work Group’s Default Work Queue — especially in dynamic workload distribution scenarios.
Pega allows you to configure routing to a Work Group, which automatically places the assignment into the group's default Work Queue. This design ensures:
Tasks are routed not to a specific user, but to a shared queue.
Any operator associated with that Work Group and Work Queue can pull and work on the task.
It's useful for load balancing in high-volume or rotating shift environments.
In a loan processing application, the “Verify Documents” assignment is routed to the Work Group: LoanReviewers, which has a default Work Queue called LoanReview-Q. Any user in that Work Group can work on the task based on availability.
This pattern may appear in questions involving workload distribution or routing configuration traps, where the routing target is a Work Group, not a specific queue.
Beyond its core functionality of in-app communication and collaboration, Pulse in Pega can also be extended for social engagement integrations.
Pulse can be customized to:
Send notifications externally (e.g., via email or integrated messaging platforms like Slack or Microsoft Teams).
Receive inbound updates or comments from external sources through APIs or webhooks.
This allows cross-team collaboration, even with users who are not logged into Pega, thereby enabling use cases such as:
Customer service agents responding to social media complaints.
Loan reviewers getting alerts through enterprise chat tools.
While not standard out-of-the-box, these are commonly implemented in enterprise solutions and may be mentioned in design scenario questions or as LSA project discussions.
Most Pega learners are familiar with Property-Based Circumstancing, but to ensure a well-rounded understanding, the following types should be briefly introduced:
Allows a rule to become active only on or after a specified date or within a specific time range.
Commonly used for:
Time-sensitive pricing policies
Deadline-driven business rules
Used when the circumstancing logic relies on multiple properties.
Requires:
A template rule with property placeholders.
One or more definition rules specifying actual values.
A loan eligibility decision rule might use a template circumstancing rule with properties like .LoanType and .CustomerSegment.
LSA exams often test scenario-based rule resolution involving multiple circumstancing types. A solid grasp of this topic is critical for resolving which rule will be executed in different contexts.
When covering asynchronous processing in Pega using Queue Processors, it's crucial to distinguish between the two types:
Managed by the system.
Shared across multiple operations.
Configured via System Runtime Context.
Typically used for generic background tasks such as audit logging or notification processing.
Created and configured by the application developer.
Offers fine-grained control, such as:
Threading model (number of threads)
Delay settings
Error handling policies
Best for business-critical or performance-sensitive tasks like:
Transaction posting
Fraud check processing
Integration queueing
Use Standard when tasks are lightweight and non-blocking.
Use Dedicated when tasks require specific isolation, performance tuning, or error recovery control.
What happens when a case flow is modified while cases are already in-flight?
In-flight cases continue using the old flow version unless explicitly migrated or handled using specialized mechanisms.
Pega maintains rule versioning, so existing cases do not automatically switch to new flow definitions. Designers must use case migration strategies or alternative flows to handle updates. A common mistake is assuming all cases will reflect new changes immediately, leading to inconsistent behavior. Proper planning ensures smooth transitions without disrupting active cases.
Demand Score: 90
Exam Relevance Score: 93
How should failed or stuck flows be handled in Pega applications?
Failed flows should be resolved using problem flows, manual interventions, or automated recovery mechanisms.
Problem flows provide a structured way to address errors and resume processing. Monitoring tools help identify issues early. A common mistake is ignoring exception handling during design, which leads to unresolved cases. Implementing retry logic and fallback paths improves system resilience and user experience.
Demand Score: 89
Exam Relevance Score: 92
What is the difference between Queue Processors and Job Schedulers?
Queue Processors handle asynchronous, event-driven processing, while Job Schedulers execute tasks at predefined intervals.
Queue Processors are used for real-time background tasks triggered by events, whereas Job Schedulers are time-based. A common mistake is using Job Schedulers for near real-time processing, causing delays. Queue Processors provide better scalability and reliability for high-volume asynchronous workloads.
Demand Score: 88
Exam Relevance Score: 94
When should asynchronous integration be used in Pega?
Asynchronous integration should be used when external system responses are delayed or when processing should not block user interaction.
It improves performance and user experience by decoupling system interactions. Common use cases include long-running services and high-volume data processing. A mistake is using synchronous calls for all integrations, leading to slow response times and system bottlenecks. Asynchronous patterns enhance scalability and fault tolerance.
Demand Score: 87
Exam Relevance Score: 91
How does the Get Next Work feature influence assignment design?
Get Next Work automates assignment selection based on priority, skills, and availability, improving work distribution efficiency.
It eliminates manual work selection and ensures optimal routing. Designers must configure work queues, routing rules, and prioritization logic correctly. A common mistake is relying on manual assignment selection, which reduces efficiency and consistency. Proper use enhances productivity and SLA compliance.
Demand Score: 86
Exam Relevance Score: 89
What role do Data Flows and Data Sets play in Pega Infinity?
Data Flows and Data Sets enable large-scale data processing, streaming, and real-time analytics within Pega.
They support batch and streaming operations, integrating with external systems and internal processing pipelines. A common mistake is using traditional data handling methods for high-volume scenarios, leading to performance issues. Data Flows provide scalability and efficient processing for big data use cases.
Demand Score: 85
Exam Relevance Score: 90