Show TOC

Procedure documentationCreating the Decision Tables Locate this document in the navigation structure

 

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.

Procedure

Creating the Standard Card Eligibility Table
  1. 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.

  2. In the decision table Creation Wizard that appears, enter Standard Card Eligibility Table in the Decision Table Name field and choose Next.

  3. 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.

  4. Select the Table has Horizontal Condition checkbox. Choose Next.

  5. On the Select the Actions screen, double-click CreditScore in the Available Actions section.

    The alias appears in the Selected Actions section.

  6. Choose Finish.

  7. Save the changes.

    In the Project Explorer view, you should see the Standard Card Eligibility Table node when you expand the Decision Tables folder.

  8. If the decision table editor does not open, double-click the Standard Card Eligibility Table node to open the decision table editor.

Adding Condition and Action Values
  1. 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.

    Note Note

    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.

    End of the note.
  2. 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:

This graphic is explained in the accompanying text.

Creating the Gold Card Eligibility Table
  1. Repeat all the steps and create another decision table called Gold Card Eligibility Table.

  2. Refer to the decision table below for the condition and action values you need to enter:

This graphic is explained in the accompanying text.

Result

You should have created two decision tables and you should see the nodes in the Project Explorer view.

This graphic is explained in the accompanying text.