Skip to main content

Configuring a cascading approval with a reporting structure

Archived

3 タスク

10 分

Visible to: All users
初級 Pega Platform 8.5 Case Management 英語
This content is now archived and is no longer updated. Progress is not calculated. Pega Cloud instances are disabled, and badges are no longer awarded. ここをクリックして to continue your progress in the latest version.

シナリオ

GoGoRoad stakeholders want to allow Territory Managers to add new vendors as service providers as the service grows. If the vendor is The Automobile Association (TAA), which has an existing relationship with GoGoRoad, the Add Vendor case is routed to the Manager of the Territory Manager for approval. If the vendor is not TAA, the Add Vendor case type is then routed to a Director for a second approval. Add an Approval step to the Add Vendor case type to support the described behavior.

The following image displays the reporting structure for the author@gogoroad user.

Reporting structure for author@gogoroad

The following table provides the credentials you need to complete the challenge.

Role User name Password
System Architect author@gogoroad pega123!
補足: Your practice environment may support the completion of multiple challenges. As a result, the configuration shown in the challenge walkthrough may not match your environment exactly.

チャレンジ ウォークスルー

詳細なタスク

1 Create the when conditions

  1. From the navigation pane of Dev Studio, click App.
  2. Right-click NewVendor, and then click Create > Decision > When.
  3. In the Label field, enter Vendor is TAA.
  4. Click Create and open to create the when rule.
  5. In the Select drop-down, select Name in the New vendor data object.
  6. In the second drop-down, keep the default value of is equal to.
  7. In the third drop-down, enter TAA.
    Vendor is TAA when rule
  8. Click Save to save the when rule.
  9. To the right of Save, click the down arrow.
    Down-arrow to the right of the Save button
  10. Click Save as to save a copy of the Vendor is TAA when rule.
  11. In the Label field, enter Vendor is not TAA.
  12. Click Create and open to create the when rule.
  13. In the second drop-down list, select is not equal to.
    Vendor is not TAA when rule
  14. Click Save to save the when rule.

2 Configure the Approve Vendor step

  1. In the navigation pane, click Case types > New vendor to open the New vendor case type.
  2. In the Approval process, click Step > Approve/Reject.
  3. Name the step Approve vendor.
  4. Click and drag the Approve vendor step to precede the Save data page step.
    Approve vendor step in the Approval stage of the New Vendor case type
  5. With the Approve vendor step selected, from the General tab of the properties pane, in the Approval flow type drop-down, select Cascading.
  6. In the Approval based on drop-down, keep the default value of Reporting structure.
  7. In the Approval to be completed by drop-down, keep the default value of Reporting manager.
    Properties pane for an approval shape configured as a cascading approval with reporting structure
  8. Expand the Approval level section.
  9. In the Approval level section, select Custom.
  10. Click Update custom levels to update the custom approval levels. A dialog box is displayed.
    Update custom levels link on an Approval step based on Reporting structure
    1. In the dialog box, click Add custom approval to add a when rule.
    2. In the When field, enter or select VendorIsTAA.
    3. In the Levels of approval field, enter 1.
    4. Click Add custom approval to add a when rule.
    5. In the When field, enter or select VendorIsNotTAA.
    6. In the Levels of approval field, enter 2.
    7. Click Submit to close the dialog.
      Update custom levels dialog box associated with an Approval step based on a Reporting structure
  11. Click Save to save the New vendor case type.

3 Confirm your work

  1. Click Save and run to create a New vendor case instance.
  2. In the Collect vendor information step, in the Name field, enter TAA.
  3. Click Submit.
  4. In the To do section of the case, to the right of Get Approval, click Go to display the first approval.
  5. In the Approval view, verify that the open assignment is assigned to the Manager.
    First approval routed to Manager
  6. Click Approve to resolve the case.
  7. Create a New vendor case instance.
  8. In the Collect vendor information step, in the Name field, enter Pega Towing.
  9. Click Submit.
  10. In the To do section of the case, to the right of Get Approval, click Go to display the first approval.
  11. In the Approval view, verify that the open assignment is assigned to the Manager.
    First approval routed to Manager
  12. Click Approve.
  13. In the To do section of the case, to the right of Get Approval, click Go to display the second approval.
  14. In the Approval view, verify that the open assignment is assigned to the Director.
    Second approval routed to Director


このモジュールは、下記のミッションにも含まれています。

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