Configuring cascading approvals with an authority matrix
2 Tasks
10 mins
Beginner
Pega Platform '24.2
Case Management
English
Scenario
As the repair service grows, GoGoRoad stakeholders want to allow Territory Managers to submit new vendors as service providers for approval. 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. The Case is then routed to a Compliance Officer, who ensures the request adheres to the agreement between TAA and GoGoRoad. If the vendor is not TAA, the New vendor Case is routed to the Manager, and then the Director for approval. Create a Decision table to ensure the approval is routed appropriately. Add an Approval Step to the New vendor Case Type to support the described behavior.
The following table provides the credentials you need to complete the challenge.
Role | User name | Password |
---|---|---|
Application Developer | author@gogoroad | pega123! |
Note: The challenge walkthrough video is coming soon.
Challenge Walkthrough
Detailed Tasks
1 Configure the Approve vendor Step
- 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!.
-
Switch to Case Types.
, and in the navigation pane, click -
Select the New Vendor Case Type, and click the Workflow tab.
- 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, on the General tab of the properties pane, in the Approval flow type list, select Cascading.
- In the Approval based on list, select Authority matrix.
- In the Page list property field, enter or select .VendorApprovals as the page list property to hold the list of approvers.
- In the Approver property field, enter or select .ApproverID as an element of the page list to identify each approver in the list.
- In the Decision table for matrix field, enter VendorApprovals as the Decision table that determines the Conditions for populating the page list.
- To the right of the Decision table for matrix field, click the Open icon to open and configure the Decision table.
2 Configure the VendorApprovals Decision table
- On the Create Decision Table form, click Create and open.
- Click the Results tab.
- In the Delegation options section, select the Evaluate all rows check box.
- Click the Table tab.
- In the Conditions column, click the first cell heading to display the Select a Property dialog box.
- In the Property field, enter or select .NewVendor.Name to specify the Condition property.
- In the Label field, enter Vendor name.
- Keep the default operator as =.
- Click Save to finish configuring the Condition.
- Under Actions, click the cell heading to specify the Condition property as .VendorApprovals(<APPEND>).ApproverID.
-
In the Label field, enter Vendor approvals.
- Keep the default operator as =.
- Click Save to finish configuring the Condition.
- Click an empty cell in the table, and then click the Insert Row after icon to insert two additional rows.
- Click each cell in the Decision table, and then enter the following values:
Vendor name Vendor approvals When "manager@gogoroad" When !=TAA "director@gogoroad" When TAA "complianceofficer@gogoroad" Otherwise "" - Click Save to save the Decision table.
- Return to the New Vendor Case Type, and then click Save to save the changes to the workflow.
Confirm your work
- Switch to App Studio and click Preview.
- From the Web Portal, click Create > New Vendor.
- In the Create New Vendor dialog box, in the Name field, enter TAA.
- Click Submit.
- Expand the Assignments section of the Case.
- In the Assignments section, to the right of Get Approval, click Go to display the first approval.
- In the Get Approval View, verify that the open Assignment is assigned to the Manager.
- Click Approve.
- In the Assignments section of the Case, to the right of Get Approval, click Go to display the second approval.
- In the Get Approval View, verify that the open Assignment is assigned to the Compliance officer.
- Click Approve to resolve the case.
- Create a New vendor Case instance.
- In the Create New Vendor dialog box, in the Name field, enter Pega Towing.
- Click Submit.
- In the Assignments section of the Case, to the right of Get Approval, click Go to display the first approval.
- In the Get Approval View, verify that the open Assignment is assigned to the Manager.
- Click Approve.
- In the Assignments section of the Case, to the right of Get Approval, click Go to display the second approval.
- In the Get Approval View, verify that the open Assignment is assigned to the Director.
- Click Approve to resolve the case.
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?