
Automating Decisions with Decision tables
2 Aufgaben
10 Min.
Anfänger
Pega Platform '23
Case Management
Englisch
Szenario
An organization is launching an application that facilitates loan requests. Customers initiate a loan request and enter their credit score and loan amount. Configure a Decision table and declare Expression, so that the loan rate is determined automatically based on the credit score and loan amount the customer enters.
The following table provides the credentials you need to complete the challenge.
Role | User name | Password |
---|---|---|
Application Developer | author@loans | pega123! |
Hinweis: 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-Schritte
Genaue Übungsschritte
1 Configure the Borrower risk adjustment Decision table
- In the Pega instance for the challenge, enter the following credentials:
- In the User name field, enter author@loans.
- In the Password field, enter pega123!.
- From the navigation pane of Dev Studio, click App.
- Right-click LoanRequest and click Create > Decision > Decision Table.
- In the Label field, enter Borrower risk adjustment table.
- Click Create and open to create the Decision table.
- Click the first heading cell to specify a Condition. The Select a Property window is displayed.
- In the Property field, enter or select .CreditScore.
- Confirm the Label field is Credit score.
- Click the Use Operator drop-down and select >.
- Click Save.
- In the Credit score column, click the empty cell to enable the Decision table menu options.
- Click Insert Column After to add a column after Credit score.
- Click the new heading cell to specify a Condition.
- In the Property field, enter or select .LoanAmount.
- Confirm the Label field is Loan amount.
- Click the Use Operator drop-down and select >.
- Click Save.
- In the if row, click an empty cell, and then click Insert Row After five times to add five else if rows.
- Click each cell in the Decision table and enter the following values:
Credit score > Loan amount > Return if 800 50000 .0225 else if 800 0 .0200 else if 700 50000 .0325 else if 700 0 .0275 else if 200 50000 .045 else if 200 0 .0425 otherwise .07 - Click Save to save the Decision table.
2 Configure the Loan rate declare Expression
- From the App Explorer, right-click LoanRequest and click Create > Decision > Declare Expression.
- In the Target Property field, enter or select .LoanRate.
- Click Create and open.
- In the Build Expressions area, in the Value of drop-down, select Result of Decision Table.
- In the empty field to the right, enter or select BorrowerRiskAdjustmentTable.
- Click Save.
Arbeit überprüfen
- In the header of Dev Studio, click Create > New > Loan Request to create a new Loan Request Case instance.
- In the Loan amount field, enter 10000.
- In the Credit score field, enter 750.
- Click Submit.
- Verify that the Loan rate is 2.75%.
- Optional: Create additional Case instances and enter different Credit score and Loan amount values. Verify that the Loan rate is consistent with the values specified in the Borrower risk adjustment Decision table.
In dieser Challenge üben Sie, was Sie im folgenden Modul gelernt haben:
In der folgenden Mission verfügbar:
Wenn Probleme mit den Lerninhalten auftreten, lesen Sie bitte die Pega Academy Support FAQs.
Möchten Sie uns dabei helfen, diesen Inhalt zu verbessern?