Configuring a cascading approval with a reporting structure
2 Tasks
10 mins
Beginner
Pega Platform 8.7
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 image displays the reporting structure for the author@gogoroad user.
The following table provides the credentials you need to complete the challenge.
Role | User name | Password |
---|---|---|
System Architect | author@gogoroad | pega123! |
Note: 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.
Challenge Walkthrough
Detailed Tasks
1 Create the when conditions
- From the navigation pane of Dev Studio, click App.
- Right-click NewVendor, and then click Create > Decision > When.
- In the Label field, enter Vendor is TAA.
- Click Create and open to create the when rule.
- In the Select drop-down, select Name in the New vendor data type.
- In the second drop-down, keep the default value of is equal to.
- In the third drop-down, enter TAA.
- Click Save to save the when rule.
- To the right of Save, click the down arrow.
- Click Save as to save a copy of the Vendor is TAA when rule.
- In the Label field, enter Vendor is not TAA.
- Click Create and open to create the when rule.
- In the second drop-down list, select is not equal to.
- Click Save to save the when rule.
2 Configure the Approve Vendor step
- In the navigation pane, click Case types > New vendor to open the New vendor case type.
- In the Approval process, click Step > Approve/Reject.
- Name the step Approve vendor.
- Click and drag the Approve vendor step to precede the Save data page step.
- With the Approve vendor step selected, from the General tab of the properties pane, in the Approval flow type drop-down, select Cascading.
- In the Approval based on drop-down, keep the default value of Reporting structure.
- In the Approval to be completed by drop-down, keep the default value of Reporting manager.
- Expand the Approval level section.
- In the Approval level section, select Custom.
- Click Update custom levels to update the custom approval levels. A dialog box is displayed.
- In the dialog box, click Add custom approval to add a when rule.
- In the When field, enter or select VendorIsTAA.
- In the Levels of approval field, enter 1.
- Click Add custom approval to add a when rule.
- In the When field, enter or select VendorIsNotTAA.
- In the Levels of approval field, enter 2.
- Click Submit to close the dialog.
- Click Save to save the New vendor case type.
Confirm your work
- Click Save and run to create a New vendor case instance.
- In the Collect vendor information step, in the Name field, enter TAA.
- Click Submit.
- In the To do section of the case, to the right of Get Approval, click Go to display the first approval.
- In the Approval view, verify that the open assignment is assigned to the Manager.
- Click Approve to resolve the case.
- Create a New vendor case instance.
- In the Collect vendor information step, in the Name field, enter Pega Towing.
- Click Submit.
- In the To do section of the case, to the right of Get Approval, click Go to display the first approval.
- In the Approval view, verify that the open assignment is assigned to the Manager.
- Click Approve.
- In the To do section of the case, to the right of Get Approval, click Go to display the second approval.
- In the Approval view, verify that the open assignment is assigned to the Director.
This Challenge is to practice what you learned in the following Module:
Available in the following mission:
If you are having problems with your training, please review the Pega Academy Support FAQs.
Want to help us improve this content?