Skip to main content

Challenge

Workflows basierend auf dem Business-Kontext steuern

This content has been updated. Hier klicken für das Fortsetzen Ihres Fortschritts in der neuesten Version.

Szenario

Wenn Kunden bei InsCorp um Pannenhilfe bitten, überprüft ein Kundenbetreuer manuell, ob der Kunde berechtigt ist, Pannenhilfe in Anspruch zu nehmen oder nicht. Um die Effizienz zu verbessern, entscheiden die Beteiligten bei InsCorp, dass dieser Schritt automatisiert werden sollte. Ersetzen Sie den vorhandenen Step „Approve/Reject“ für Genehmigungen oder Ablehnungen durch eine automatisierte Entscheidung.

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

Rolle Operator 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 Add a decision shape to the Validate request process

  1. In the App Studio navigation pane, click Case types > Assistance Request to open the Assistance Request case type.
  2. Hover over the Validate request process and click Configure process to open the process modeler.
  3. Click Add a flow shape > Decision to add a decision shape.
    Add a decision shape in the process modeler
  4. Rename the decision shape Validate request.
  5. Click Add a flow shape > Automations > Change to a stage to add a change stage automation.
    Hinweis: By default, flow shapes are added to the center of the process modeler and may overlap. Move shapes as necessary to make the process easier to interpret.
  6. Rename the Change to a specific stage automation Change to rejection stage.
  7. In the properties pane of the Change to rejection stage shape, in the Stage drop-down, select Approval Rejection.
  8. Click the Validate request Approve/Reject shape, and then click the Trash icon in the process modeler toolbar to delete the shape.
    Delete the Approve/Reject shape in the Validate request process
  9. Drag the connector from the start shape to the Validate request decision shape.
  10. Delete the connector to the end shape.
    Validate request process with a partially configured decision shape

2 Configure the Validate request decision shape

  1. In the properties pane of the Validate request decision shape, in the When drop down, ensure that Custom condition is selected.
  2. To the right of Custom condition, click the Gear icon to open the Configure condition dialog box.
  3. In the first drop-down list, select the Enrollment field in the Customer ID data object. The second drop-down list defaults to is true.
  4. Click Submit.
  5. In the Go to drop-down, select [End].
  6. In the Otherwise go to drop-down, select Change to rejection stage.
    Properties pane for a decision shape in the Validate request process
  7. Click Save to apply the changes.
    Validate request process with a decision shape

3 Confirm your work

  1. In the Assistance Request case type, click Save and run to run a new instance of the Assistance Request case type.
  2. Advance the case past the Create view.
  3. In the Enter customer information view, select the account ID of a customer that is not enrolled in roadside assistance coverage.
    Enter customer information view with sboucher@example.com account selected
  4. Advance the case past the Enter payment information view. The Prompt for enrollment view is displayed.
    Prompt for enrollment view
  5. Create a second Assistance Request case instance.
  6. In the Enter customer information view, select the account ID of a customer that is enrolled in roadside assistance coverage.
  7. Advance the case past the Enter payment information view. The Select service provider view is displayed.
    Select service provider view


In den folgenden Missions verfügbar:

Wenn bei Ihrer Schulung Probleme 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