Configuring a cascading approval with a reporting structure
2 Tâches
10 mins
Scénario
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 New Vendor Case is routed to the Manager of the Territory Manager for approval. If the vendor is not TAA, the New Vendor Case Type is then routed to a Director for a second approval. Add an Approval Step to the New Vendor Case Type to support the described behavior.
The following figure displays the reporting structure for the Manager:
The following table provides the credentials you need to complete the challenge.
Role | User name | Password |
---|---|---|
Application Developer | 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.
Présentation du défi
Détail des tâches
1 Create the When Conditions
- In the Pega instance for the challenge, enter the following credentials:
- In the User name field, enter author@gogoroad.
- In the Password field, enter pega123!.
- 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 list, select Name in the New vendor data relationship.
- In the second list, keep the default value of is equal to.
- In the third field, 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 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 list, select Cascading.
- In the Approval based on list, keep the default value of Reporting structure.
- In the Approval to be completed by list, 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.
Vérifier votre travail
- 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.
Ce défi vise à appliquer ce que vous avez appris dans le Module suivant :
Disponible dans la mission suivante :
If you are having problems with your training, please review the Pega Academy Support FAQs.
Want to help us improve this content?