Skip to main content

Designing background processing

4 Aufgaben

1 Std. 30 Min.

Sichtbar für: All users Applies to: Pega Platform '24.2
Fortgeschritten
Englisch

Szenario

In the MDC product delivery scenario, the business partner membership must be renewed every six months, and the partner will have the flexibility to upgrade or downgrade their membership during renewal. Renewal can be initiated at any time before the membership expires. A notification is triggered 15 days (about 2 weeks) before the membership expiry date, and a message is displayed on the portal until the membership is renewed.

The delivery service wants the emails to be processed efficiently.

Use the following credentials to complete the exercise:

Role User name Password
Admin admin@deliveryservice rules

Sie müssen zum Abschließen dieser Challenge Ihre eigene Pega-Instanz starten.

Die Initialisierung kann bis zu 5 Minuten dauern, bitte haben Sie Geduld.

Genaue Übungsschritte

1 Identify design options

As you develop your implementation, rely on the rules in Pega Platform™. Consider the following approaches to addressing the requirements:

  • Option 1: Create a single-node job scheduler that queries business partners whose expiration date is less than 15 days and sends an email to each business partner to renew their membership.
  • Option 2: Create a single-node job scheduler with spun-off queue processors to send emails.
  • Option 3: Open the business partner registration case and configure a service level agreement (SLA) that sends an email notification with a deadline of 15 days.

2 Evaluate design options

Design Pros Cons
Create a single-node job scheduler
  • Minimal maintenance
  • Avoids redundant emails
  • Not immune to node disablement.
Create a single-node job scheduler with spun-off queue processors
  • Minimal maintenance
  • Distributed processing
  • Avoids redundant emails
  • Immune to node disablement
  • Additional complexity from having to spin off queue processors.
Create an SLA in an open case
  • Reaps the benefits of case management features
  • Distributed processing
  • Avoids redundant emails
  • Immune to node disablement
  • Keeping the case unresolved just for the sake of email notifications can create process issues, with too many assignments and an unresolved case.

3 Recommend the best design option

The single-node job scheduler with spun-off queue processors is the recommended approach because of its better performance.

4 Tasks to perform

  1. Query the business partners whose expiry dates are less than or equal to 15 days (about 2 weeks).
  2. Use the report definition and its pagination settings to query 50 records at a time in an incremental way.
  3. Queue every record to the standard queue processor to send an email.
MembershipExpiryNotification activity configuration.


In der folgenden Mission verfügbar:

Wenn Probleme mit den Lerninhalten auftreten, lesen Sie bitte die Pega Academy Support FAQs.

Fanden Sie diesen Inhalt hilfreich?

Möchten Sie uns dabei helfen, diesen Inhalt zu verbessern?

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