Skip to main content

Challenge

Building a scorecard to calculate the credit score

2 Tasks

10 mins

Visible to all users
Beginner Pega Customer Decision Hub 8.7 English

Scenario

U+ Bank is cross-selling on the web by showing various credit cards to customers. Because of the limit for each card, credit cards are unsuitable for customers if their credit score is less than 600 due to the likelihood of default.

The credit score value is available in the data model, and external processes populate the value in a nightly batch. However, a credit score is not computed for every customer.

As a result, the business wants a scorecard that computes a customer's credit score if the score is not available.

Use the following credentials to log in to the exercise system:

Role User name Password
Decisioning Architect DecisioningArchitect rules

Your assignment consists of the following tasks:

Task 1: Create a scorecard, Determine Credit Score, with exact specifications

  1. Customer Financial Vulnerability indicator

Assign a score of 0 if the customer is financilally vulnerable. Otherwise, assign a score of 300. 

Note: For this condition, use the IsFinanciallyVulnurable property. The value True indicates the customer is financially vulnerable.
  1. Customer Annual Income

Split the values for yearly income into four ranges, and assign scores to each range as shown in the following table:

Condition

Score

<=7000

0

<=8000

100

<=10000

150

<=12000

200

Otherwise

300

Note: Use the AnnualIncome property for the ranges.
  1. Customer DebtToIncomeRatio

Split the values for Debt To Income Ratio into three ranges, and assign scores to the ranges as shown in the following table:

Condition

Score

<=20

300

<=30

200

<=40

100

Otherwise

50

Note: For this requirement, use the DebtToIncomeRatio property.

Task 2: Configure the scorecard result to Not suitable and Suitable

The scorecard outputs Not Suitable if the credit score is less than 600 and Suitable if the score is equal to or higher than 600.

Task 3: Confirm your work

Verify the scorecards for customers Barbara and Robert.

 

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 a scorecard Determine Credit Score with exact specifications

  1. On the exercise system landing page, click Pega CRM suite to log in to Pega Customer Decision Hub™.
  2. Log in as Decisioning Architect with User name DecisioningArchitect and Password rules.
  3. In the navigation pane of Customer Decision Hub, click Intelligence > Scorecards to open the Scorecards landing page.
  4. On the Scorecards landing page, in the upper right, click Create to open the Create Scorecard form.
  5. On the Create Scorecard landing page, in the Scorecard Record Configuration section, in the text box field, enter Determine Credit Score.
  6. In the Context section, confirm that the Apply to field autopopulates to UBank-Data-Customer.
  7. In the upper right, click Create and open to open the rule form of the scorecard.
  8. On the rule form, on the Scorecard tab, in the Combiner function list, confirm that Sum is selected.
  9. In the Predictor expression field, enter or select .IsFinanciallyVulnerable, and then define the condition with the following values:
    1. Condition = True and Score = 0
    2. Otherwise: Score = 300.
  10. Click Add to add another predictor expression.
  11. In the Predictor expression field, enter or select .AnnualIncome, and then define the condition with the values as shown in the following figure:
    annual income in score card
  12. Click the Add icon to add another predictor expression.
  13. In the Predictor expression field, enter or select .DebtToIncomeRatio, and then define the condition with the values as shown in the following figure:
    debt to income ratio ranges

2 Configure the scorecard result to Not suitable and Suitable

 

  1. On the scorecard rule form, click the Results tab to see the results of the scorecard.
  2. In the first row, in the Result field, enter Not Suitable.
  3. In the Cutoff value field, enter 600.
  4. In the second row, in the Result field, enter Suitable.
  5. Click Save to save the changes.
  6. Close the scorecard.
  7. On the Scorecard landing page, click the Refresh icon to see the newly added scorecard.

Confirm your work

  1. On the Scorecard landing page, double-click DetermineCreditScore to open the card.
  2. In the upper-right corner, click Actions > Run.
  3. Expand the Run menu.
    run score card
  4. In the Thread list, select the DetermineCreditScore card.
  5. Select the Apply data transform checkbox.
  6. In the Data transform field, enter or select Barbara.
  7. In the upper right, click Run.
    The values of the properties are populated in the execution details after applying a data transform.
    scorecard run result for barbara
    Barbara gets a score of 700, so she is suitable for a credit card.
  8. Repeat the steps 4-7 for Robert.
    scorecard run result for robert
  9. Robert gets a score of 550, so he is not suitable for a credit card.

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.

Did you find this content helpful?

Want to help us improve this content?

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