You create Decision Tables to set the credit score for Standard and Gold type credit cards. Based on the credit score, the eligibility of an applicant for the desired credit card type is determined.
In the Project Explorer view, expand the creditcard_rules node and the Rules Modeling node and in the context menu of the Check_CreditCard_Eligibility node, choose New Decision Table .
In the decision table Creation Wizard that appears, enter Standard Card Eligibility Table in the Decision Table Name field and choose Next .
On the Select the Conditions screen, double-click the following aliases in the Available Conditions section:
Credit History of Applicant
Annual Income of Applicant
Total Assets of Applicant
The aliases appear in the Selected Conditions section.
Select the Table has Horizontal Condition checkbox. Choose Next .
On the Select the Actions screen, double-click CreditScore in the Available Actions section.
The alias appears in the Selected Actions section.
Choose Finish .
Save the changes.
In the Project Explorer view, you should see the Standard Card Eligibility Table node when you expand the Decision Tables folder.
If the decision table editor does not open, double-click the Standard Card Eligibility Table node to open the decision table editor.
In the decision table editor that appears, double-click each of the cells under the condition headers ( Credit History of Applicant , Annual Income of Applicant , and Total Assets of Applicant ) and enter the values.
You can also choose Add Condition Value in the context menu of the cells under the condition headers and enter all the values in the available rows in the dialog box that appears.
Double-click each cell under the action header ( CreditScore ) in the decision table, enter a value and press Enter .
Refer to the decision table below for the condition and action values you need to enter:
Repeat all the steps and create another decision table called Gold Card Eligibility Table .
Refer to the decision table below for the condition and action values you need to enter:
You should have created two decision tables and you should see the nodes in the Project Explorer view.
Next Step