Skip to main content

Challenge

Daten in einem Datenbestand speichern

3 Aufgaben

10 Min.

Für alle Benutzer sichtbar
Anfänger Pega Platform Datenintegration Deutsch

Szenario

Anstatt nicht registrierte Benutzer automatisch abzuweisen, möchte der Programm-Manager für den Pannenhilfedienst Benutzern, die eine Serviceanfrage stellen, eine Option anbieten, damit sie sich registrieren können. Konfigurieren Sie den Genehmigungs-/Ablehnungsprozess so, dass der Mitgliedsstatus eines Kunden aktualisiert wird, wenn er sich für das Pannenhilfeprogramm registriert. Erstellen Sie eine Datentransformation, um den Kundendatensatz in eine speicherbare Datenseite zu kopieren und den Mitgliedsstatus und die Deckungsstufe zu aktualisieren. Fügen Sie dann einen Step vom Typ „Save data page“ hinzu, um den Kundendatensatz in der Datenbank zu aktualisieren.

In der folgenden Tabelle finden Sie die Anmeldedaten, die Sie zur Durchführung der Challenge benötigen.

Rolle Benutzer ID Kennwort
Application Developer author@gogoroad pega123!

Challenge-Schritte

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 Create an Update customer enrollment data transform

  1. In Dev Studio, from the Navigation pane, click Data types.
  2. Expand Customer and click Savable Customer to open the Savable Customer data page.
  3. In the Data Sources section, in the Response Data Transform field, enter UpdateCustomerEnrollment.
  4. To the right of the Response Data Transform field, click the crosshairs icon to open the Create Data Transform field.
    Update customer enrollment data transform selected in Customer savable data page
    1. Click Create and open to create the data transform.
    2. Delete any existing rows.
    3. In the first row, keep the default Action value as Set.
    4. In the Target field, enter or select Primary.Enrollment.
      Tipp: Use Primary to explicitly set the context for the step to the data page that called the data transform.
    5. In the Source field, enter or select true.
    6. Click Add a row.
    7. Keep the default Action value as Set.
    8. In the Target field, enter or select Primary.CoverageLevel.
    9. In the Source field, enter or select pyWorkPage.CoverageLevelElected.
      Update customer enrollment data transform
    10. Click the Pages & Classes tab.
    11. In the Page name field, enter pyWorkPage.
    12. In the Class field, enter or select GoGo-GoGoRoad-Work-AssistanceRequest.
    13. Click Save to save the data transform.
  5. Return to the Savable Customer data page.
  6. Click Save to save the data page. 

2 Add a Save data page automation to the Approval Rejection process

  1. From the Navigation pane, click Case types.
  2. Click Assistance Request to open the Assistance Request case type.
  3. In the Approval Rejection process, click Configure process.
  4. Click Add a flow shape > Automations > Save data page.
    Add Save data page automation to the Process Modeler
  5. With the Save data page automation selected, in the properties pane, enter or select D_CustomerSavable.
  6. In the Parameters section, in the pyGUID field, enter or select .CustomerID.pyGUID to pass the unique identifier for the current customer record to the savable data page.
    Properties pane of the Save data page automation
  7. Click and drag the Collect enrollment information connector to the Save data page automation.
  8. Hover over the Save data page automation and drag the connector to the Change to a specific stage step.
    Approval Rejection process with Save data page automation
  9. Click Save to save the Approval Rejection process.
  10. Click Stages & steps to return to the Assistance Request case type.

3 Confirm your work

  1. In the Navigation pane, click Data types.
  2. Click the Record icon to the right of Customer to open the records of the Customer data type.
    Record icon for the Customer data type
  3. For testing, identify a Customer record that is unenrolled.
    Customer data records
  4. Click the Assistance Request tab to return to the Assistance Request case type.
  5. Click Save and run.
  6. Advance past the Create view.
  7. In the Enter customer information view, select the Account ID of the unenrolled customer you identified.
    Unenrolled customer selected in the Assistance Request case
  8. Advance the case to the Approval view.
  9. Click Reject. The Prompt for enrollment view is displayed.
  10. In the Prompt for enrollment view, click Yes, I want to enroll, then click Submit.
  11. In the Collect enrollment information view, select a coverage level, then click Submit.
  12. Click the GoGo-GoGoRoad-Data-Customer tab to return to the list of Customer records.
  13. Click Actions > Refresh to refresh the information.
  14. Verify the customer is enrolled with the coverage level you selected.
    Customer data records updated with new enrollment and coverage level


In den folgenden Missions verfügbar:

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

Fanden Sie diesen Inhalt hilfreich?

75% fanden 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