Queuing a task for background processing
1 Task
30 mins
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.
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.
Detailed Tasks
1 Queuing a task for background processing
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 UploadToPaymentProcessorLock 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.pyEmail1Subject Payroll information received Message Custom Message body A confirmation email about case <<.pyID>> will be sent within 24 hours.
Directions
- Open the Payroll Setup Case Type and navigate to the Complete enrollment Stage.
- Add the Upload to payroll processor process with a Run in background Automation, and configure the Step as detailed in the Acceptance criteria.
- Save your changes.
- After the Upload payment information Step, add a Send Email Automation Step, and configure it as detailed in the Acceptance criteria.
- Save your changes.
Want to help us improve this content?