Skip to main content


Building a scorecard to calculate the credit score

3 Tasks

10 mins

Visible to all users
Beginner Pega Customer Decision Hub 8.4 Pega Marketing 8.4 English
This content has been updated. Click here to continue your progress on the latest version.


U+ Bank is cross-selling on the web by showing various credit cards to customers. Because of each card's credit limits, credit cards are unsuitable for customers if their credit score is less than 300 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 in case the score is not available.

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




Decisioning Analyst



Your assignment consists of the following tasks:

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

Customer Credit Card indicator

Assign a score of 100 if the customer has any card with U+. Otherwise, assign a score of 0.

Note: For this condition, use the HasCards property. The value “Y” indicates the customer does have a card with U+.

Customer Income

Split the values for yearly income into three ranges, and assign scores to each range as follows:











Note: Use the Income property, which shows monthly income, to create an expression that determines yearly income.

Customer Age

Split the values for age into four ranges, and assign scores to the age ranges as follows:













Note: For this requirement use the Age property.


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

The scorecard should output Not Suitable if the credit score is less than 300 and Suitable if the score is equal to or higher than 300.


Task 3: Confirm your work

Verify the scorecards for customers Troy 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. Log in as Decisioning Analyst with user name CDHAnalyst and password rules.
  2. In the navigation pane on the left, click Intelligence -> Scorecards to open the Scorecards landing page.
  3. In the upper right, click Create.
  4. On the Create Scorecard page, enter or select the following information: Short description: Determine Credit Score
    CH20726_1_Image _1.png
    Development branch: [No branch]
  5. Click Create and open to open the Scorecard rule form.
  6. In the rule form, in the  Combiner function list, select Sum to calculate the total score (if Sum is not the default.)
    CH20726_2_Image _1.png
  7. In the Predictor expression field, enter or select .HasCards and define the condition for the customer CreditCard indicator as follows:
    1. Condition = Y and Score = 100
    2. Otherwise = 0
CH20726_3_Image _0.png
  1. Click the Add icon to add another Predictor expression.
  2. In the Predictor expression field, enter or select the expression .Income * 12
Note: This property has a monthly income, and you need the yearly income. Therefore use an expression to determine the yearly income.
  1. Complete the row with the following conditions:
    1. Condition <= 10000 and Score = 50
    2. Condition <= 40000 and Score = 100
    3. Condition <= 75000 and Score = 150
    4. Otherwise = 200
CH20726_4_Image _1.png
  1. Click the Add icon to add another Predictor expression.
  2. In the Predictor expression field, enter or select .Age, and then define the conditions and assign scores to the customer Age ranges as follows:
    1. Condition <= 18 and Score = 0
    2. Condition <= 25 and Score = 50
    3. Condition <= 40 and Score = 100
    4. Condition <= 50 and Score = 150
    5. Otherwise = 200
CH20726_5_Image _2.png


2 Configure the scorecard result to Not suitable and Suitable

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

3 Confirm your work

  1. On the Scorecard landing page, click DetermineCreditScore to open the card.
  2. In the upper-right corner, click Actions > Run.
  3. Expand the Run window.
    CH20726_7_Image _1.png
  4. In the Thread list, select the DetermineCreditScore card.
  5. Select the Apply data transform check box.
  6. In the Data transform field, enter or select Troy.
  7. Click Run.
  8. Troy gets a score of 250, so he is not suitable for a credit card. Troy gets a score of 250, so he is not suitable for a credit card.
    Troy result
  9. Repeat the steps 4 through 7 for Robert. Robert gets a score of 300, so he is suitable for a credit card.
    Robert result

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?

100% found this content useful

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