Skip to main content

Queuing a task for background processing

1 Task

30 mins

Visible to: All users Applies to: Pega Platform '26
Intermediate
Enterprise Application Development
English

Scenario

To reduce errors and complaints with payroll processing, the Human Resources department allows employees of TGB to enroll in direct deposit. When employees enroll, their paycheck is automatically deposited into their checking account when the accounting department processes the company payroll.

To automate payroll processing and avoid both Case processing delays and performance impacts during peak business hours, add a Step to the Case Life Cycle to queue the creation and sending of an email once the user completes a Payroll Setup Case.

Note: This challenge has been configured with Single sign-on (SSO) using your Pega Academy credentials. If you are not automatically signed-in to the challenge environment after initializing the instance, you may use the credentials provided.

The following table provides the credentials you need to complete the challenge:

Role User name Password
Solution Builder SSA@TGB pega123!

After completing this challenge, you should be able to: 

  • Add a Run in Background Automation to a Case Life Cycle Stage.
  • Configure a queue-based Activity Step with audit settings.
  • Add and configure a Send Email Step in a Case Life Cycle.

You must initiate your own Pega instance to complete this Challenge.

Initialization may take up to 5 minutes so please be patient.

Detailed Tasks

1 Queuing a task for background processing

Solution Builder Advanced Queuing a task for background processing Doc Journey

Use the technical documentation linked in the Journey map above to complete the assigned tasks. The technical documentation might have more information than you need to complete the tasks.

Acceptance criteria

Task 1: Add the Upload to payroll processor Run in Background Step

  • In the Payroll Setup Case Type, a new process named Upload to payroll processor is added to the Complete enrollment Stage with a Run in background Automation.
  • The Run in background Step is renamed Upload payment information and configured as follows:
    Field Value
    Type of queue Standard
    Activity name UploadToPaymentProcessor
    Lock using Primary page
    Audit note Upload to payment processor and send confirmation email

Task 2: Add the Payroll information received Send Email Step

  • After the Upload payment information Step, a Send Email Automation Step named Payroll information received is added with the following configuration:
    Field Value
    Send to Field
    Send to recipient .Employee.pyEmail1
    Subject Payroll information received
    Message Custom
    Message body A confirmation email about case <<.pyID>> will be sent within 24 hours.

Directions

  1. Open the Payroll Setup Case Type and navigate to the Complete enrollment Stage.
  2. Add the Upload to payroll processor process with a Run in background Automation, and configure the Step as detailed in the Acceptance criteria.
  3. Save your changes.
  4. After the Upload payment information Step, add a Send Email Automation Step, and configure it as detailed in the Acceptance criteria.
  5. Save your changes.


If you are having problems with your training, please review the Pega Academy Support FAQs.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Academy has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice