Skip to main content
close Search
Close search

Challenge

Configuring a cascading approval with a reporting structure

3 Tasks

10 mins

Visible to all users
Beginner Pega Platform Case Management English

Scenario

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 table provides the credentials you need to complete the challenge.

Role User name Password
System Architect author@gogoroad pega123!

 

Challenge Walkthrough

You must initiate your own Pega instance to complete this Challenge.

Initialization may take up to 5 minutes so please be patient.

Detailed Tasks

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.
    Save down arrow
  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. With the Approve vendor step selected, from the General tab of the properties pane, in the Approval flow type drop-down, select Cascading.
  5. In the Approval based on drop-down, keep the default value of Reporting structure.
  6. 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
  7. Expand the Approval level section.
  8. In the Approval level section, select Custom.
  9. Click Update custom levels to update the custom approval levels. A dialog box is displayed.
    Approval level custom configuration with Update custom levels link
    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.
      Dialog for configuring a custom approval
  10. 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. From the Actions menu, click Approval to display the first approval.
  5. In the Approval view, verify that the open assignment is assigned to the Manager.
    cascading-approval-first-level-reporting-structure
  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. From the Actions menu, click Approval to display the first approval.
  11. In the Approval view, verify that the open assignment is assigned to the Manager.
  12. Click Approve.
  13. From the Actions menu, click Approval to display the second approval.
  14. In the Approval view, verify that the open assignment is assigned to the Director.
    Second approval level in a cascading approval step

If you are having problems with your training, contact Pega Academy technical support.

Thank you for your feedback.

100% found this content useful

Want to help us improve this content?

Suggest an edit

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