Skip to main content

Extending the Credit Offers decision strategy with Credit Score

In the dynamic environment of credit risk management, integrating advanced data sources and modeling techniques is essential for making intelligent credit offer decisions. The Credit Offers decision strategy outputs eligible credit offers when a customer applies for a cash loan.

The Credit Score flow

The Credit Scores flow assesses the customer's creditworthiness using internal scoring models and external credit bureau data.

These scores are crucial for evaluating the risk associated with lending to a particular customer. By combining internal scores with credit bureau scores, the strategy provides a comprehensive risk profile.

Start by inspecting the sample application's customer data model. Then, extend the strategy with a second flow to add more intelligence by utilizing external credit bureau data. Develop a scorecard model to use internal data to assess credit risk, and combine the external and internal model scores. Based on that final credit risk score, you create a decision table to determine risk-based pricing tiers.

Customer data

You can access data from Prediction Studio. The SimulationSetDDS data set contains simulated customer data. To familiarize yourself with this test data, browse the data set with a customer ID as the key.

The customer data model is a nested data structure which includes customer profile data combined with additional credit related data on the CreditResponse sub-page. Customer profile data contains information such as Region Code, Date of Birth, Marital status, and so on.

Customer Test data

The CreditResponse page of the customer data includes credit liabilities, credit scores, and a credit summary for each customer.

Credit liabilities in the data model

For example, this customer has three credit liabilities, and the output credit score is 650:

Credit liabilities for a customer

This CreditResponse data is coming from an external credit bureau data. Customers data is made availablepage before the strategy is executed.

In a real-life implementation, the Customer data model can contain many additional data sources. Typically, a data flow is used to prepare all the necessary data to make a decision.

Integrating External Credit Bureau Data

To integrate the Equifax credit bureau data into the Credit Offers decision strategy, you use a pre-build sub-strategy.

Integrating External Credit Bureau Data

The EquifaxResponse strategy processes the customer information requested from the Credit Bureau. By default, this data includes the credit score, total liabilities, total delinquency, and AT57S value of the customer.

The EquifaxResponse strategy uses the CreditResponse embedded strategy component to aggregate credit liabilities and delinquencies and output the total monthly payments and the number of missed payments.

The Credit response strategy


The CreditResponse is an iteration component. The Iteration component in a decision strategy is used to loop through a list of propositions, pages, or values. It allows you to apply a set of actions or decisions to each item in the list. This is particularly useful when you want to evaluate or manipulate multiple items in a decision strategy.

In this case, the component iterates over the liability pages to aggregate credit liabilities and delinquencies.

Iteration over liability pages

The top-level Primary is the customer page, and .CREDIT_RESPONSE and .CREDIT_LIABILITY reflect the hierarchy of the customer data model.

Access to data as Credit Liability

Each entity is accessible in the CreditLiability property, for example, CreditLiability.MonthlyPaymentAmount.

Monthly payment

In each iteration, the embedded strategy component sets the value for the TotalDelinquency property by summing up the LateCount values.

CreditResponse delinquency
Late count in data model

The Expression that sets the TotalLiabilities property uses the IsClosedIndicator property to exclude closed credit liabilities.

CreditResponse Liability
CloserIndicator formula

The embedded strategy component outputs a single aggregated value for the TotalLiabilities and TotalDelinquency properties.

Single aggregated values

The CreditSummary embedded strategy component outputs the total past due amount of open trades verified in the past 12 months as the AT57S property that the credit bureau provides.

The CreditSummary strategy

The Filter component selects the AT57S code, and the Set property component assigns the value to the property.

Finally, the strategy reads the Score value directly from the Data Set, and references the values for the TotalLiabilities, TotalDelinquency, and AT57S properties.

Set the target data

When we run the strategy, these properties are computed based on the credit bureau data.

Run the strategy

Determining the credit risk using a scorecard

The business wants to use a scorecard to assess credit risk based on factors such as marital status, employment status, accommodation type, and whether the customer has insurance.

To meet this requirement, you configure a Scorecard model component in the Credit Offers decision strategy.

Determining the credit risk using a scorecard

A scorecard assigns a score to a value or a range of values for a particular predictor expression.

Employment time scores

To assign a score for employment duration, you use a formula that calculates the time difference between the value of the LastEmploymentStartDate property and today.

Expression employment time

Then you define the score ranges. A longer employment duration gives a higher score.

Combiner fuction

You use the MaritalStatus property to give married and widowed customers a higher score than divorced and single customers.

MaritalStatus scores

The combiner function determines how the scores for the properties are processed. In this case, you sum up the scores.

Combiner fuction

When all relevant properties are added, you define score ranges and map them to the RED, YELLOW, and GREEN segments to create a comprehensive risk profile.

Map scores to segments

Combining Scorecard and Equifax Data

The business wants to use the newly built scorecard in combination with the Equifax Credit Bureau data to set a score segment.

To produce a final score segment, you use a decision table to combine the scorecard model results with Equifax data.

Combining Scorecard and Equifax Data

In the decision table, define conditions that combine the internal and external scores to produce a final score segment. The internal score, .Score, is the score determined by the Credit Application scorecard and the external score, .CBScore, is the score value returned by Equifax Credit Bureau.

Combine model data

This categorizes customers into different risk segments based on combined scores.

Implementing Risk-Based Pricing

The business wants to implement a pricing model to tailor offers to the customer's risk profile. To meet this requirement, create a decision table to determine risk-based pricing tiers.

Implementing Risk-Based Pricing

You must configure the table to set pricing properties based on the combined risk assessments from the scorecard and Equifax data and the loan offer. The customer Segment, is the segmentation result of the Credit Application scorecard.

Rick-based pricing

Calculating optimal credit offers

Next, you configure properties for the calculations that are necessary for determining the final credit offer, such as maximum payment, interest rate, and offer amount. To meet this requirement, use a set property component.

Calculating optimal credit offers

Configure the Set Property component to include the properties for determining the final credit offer.

Calculate optimal offers

Next, implement a filter component to ensure that only offers meeting minimum criteria are selected.

The rearranged canvas

In this case, you check if the offer equal to or more than the minimum amount, a property set on the individual loan proposition.

Ensure minimum criteria

Creating separate output flows for Credit Scores

Finally, to streamline the process, the business wants to distinguish between credit score outputs and credit offer outputs within the decision strategy. For this requirement, create a new output flow for credit scores using a Set Property component.

Credit offers decision strategy

Configure the component to output relevant credit score information separately from credit offers, based on the final score segment.

Create separate output flows

To test your work, you run the strategy to ensure that the credit score and credit offer outputs are correctly processed.

Note the two pages for the loan offer and the scoring segment:

Two pages for a customer 1
Two pages for a customer 2

This Topic is available in the following Module:

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