Skip to main content

Queuing a task for background processing

1 Tarefa

30 min

Visível para: All users Applies to: Pega Platform '25
Intermediate
Enterprise Application Development
Dev/Designer Studio
Inglês

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 pega123!
Nota: This challenge does not have a demo video. Please refer to the Detailed Tasks for step-by-step instructions to complete the challenge.

Você deve iniciar sua própria instância da Pega para concluir este Challenge.

A inicialização pode leva até cinco minutos, portanto tenha paciência.

Detailed Tasks

1 Create Run in background and confirmation steps

  1. In the Pega instance for the challenge, enter the following credentials:
    1. In the User name field, enter SSA@TGB.
    2. In the Password field, enter pega123!.
  2. In Dev Studio, in the Complete enrollment Stage of the Payroll Setup Case, add a new process named Upload to payroll processor with a Run in background Automation as shown in the following image.
    standard-queue-processor-complete-enrollment-stage
  3. Change the name of the Run in background Step to Upload payment information.
  4. 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
    Audit note Upload to payment processor and send confirmation email
    Dica: The activity must already exist prior to the configuration of a standard queue processor. The UploadToPaymentProcessor activity sends an email using the call method.
    Run in background configuration
    Nota: By default, the queue processor uses the Access Group of the user who queued the item.
  5. After the Upload payment information step, add a send email step named Payroll information received to confirm that the payroll information is received.
  6. In the contextual properties panel for the Payroll information received step, update the fields to match the table and image below: 
    Field Value
    Send to Field
    Send to recipient .Employee
    Subject Payroll information received
    Message Custom
    Compose A confirmation email about case <<.pyID>> will be sent within 24 hours.
    standard-queue-processor-send-email
  7. Save your changes.

Este Desafio serve para praticar o que você aprendeu nos seguintes Módulo:


Disponível na seguinte missão:

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

Este conteúdo foi útil?

Quer nos ajudar a melhorar esse conteúdo?

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