Adding properties to customer risk assessment
Many factors that determine your assessment change over time and may impact the risk.
To add new or edit existing risk factors in your risk profile, complete the following tasks.
Adding a new risk factor to the risk profile class
Add the new risk factor to the risk profile class.
- In the navigation pane of Dev Studio, click Data types.
- In the explorer, click Risk profile.
- In the appeared window, click the Data model tab to add a new data field.
- Click Add field.
- In the appeared window, enter the name and ID for the risk factor, select the field type from the drop-down list and click Submit.
- Click Save.
Mapping the data to the data transform
The risk engine is associated with the master profile of the customer. The risk engine is triggered when you make changes to specific properties. If you extend the risk engine with additional properties, map the customer data to the related data transform.
- In the header of Dev Studio, in the search box, enter SynchronizeRiskProfile and select the data transform rule type, which applies to the PegaFS-Work class.
- Save the rule into your implementation layer by clicking Save
as.For more information, see Copying rule or data instance.
- In the Definition tab, click Add a row.
- Enter the Target and Source values from the property that you created in the "Adding the new risk factor to the risk profile class" task.
- Click Save.
Creating a declare expression for the new risk factor
Create a declare expression for the new risk factor to trigger the calculation of the risk profile.
- In the navigation pane of Dev Studio, click Records.
- Expand the Decision category, and then click Declare Expression.
- In the editor window, click Create.
- In the Label field, type a name for the new declare expression.
- In the Target Property field, enter values from the property that you created in the "Adding the new risk factor to the risk profile class" task.
- In the Page Context field, enter the value.
- In the Apply to field, enter the name of the class.
- On the Add to ruleset menu, select a ruleset.
- Click Create and open.
- Click Save.
Creating a scorecard rule for the new risk factor
Create a scorecard rule for the new risk factor to calculate, for example, customer segmentation based on age and income and then map particular score ranges to defined results.
- In the navigation pane of Dev Studio, click Records.
- Expand the Decision category, and then click Scorecard.
- Right-click Scorecard, and then click Create.
- In the Label field, enter a descriptive name for the scorecard.
- In the Apply to field, enter the class.
- On the Add to ruleset menu, select a ruleset.
- Click Create and open.
- Click Save.
Including a custom property column in the scorecard results
Map the scorecard rule that you created for the new risk factor to either an individual or an organization risk scorecard.
- In the header of Dev Studio, in the search bar, enter either CustomerRiskAssessmentForInd or CustomerRiskAssessmentForOrg, and then select the scorecard.
- Save the rule into your implementation layer by clicking Save
as.For more information, see Copying rule or data instance.
- In the Scorecard tab, click Add a row, and then add the necessary logic to calculate the risk.
- Click Save.
Previous topic Customer risk assessment principles Next topic Configuring business scorecard rules