Queuing a task for background processing
Archived
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 |
|---|---|---|
| Senior System Architect | SSA@TGB | rules |
Challenge Walkthrough
Detailed Tasks
1 Create Run in background and confirmation steps
- In Dev Studio, configure the Payroll Setup case as shown in the following image.
- Change the name of the Run in background step to Upload payment information.
-
In the contextual properties panel for the Run in Background step, use the information in the following table to configure a standard queue type to run the UploadToPaymentProcessor activity.
Field Value Type of queue Standard Activity name UploadToPaymentProcessor Lock using Primary page Alternate access group Audit note upload to payment processor and send confirmation email Tip: The activity must already exist prior to the configuration of a standard queue processor. The UploadToPaymentProcessor activity sends an email using the call method.Note: By default the queue processor uses the access group of the user who queued the item. - After the Upload payment information step, add a Payroll information received send email step, to confirm that the payroll information is received.
- In the contextual properties panel for the Payroll information received step, use the following image to configure the correspondence.
- Save your changes.