---
schema_version: "1"
id: b51050cc946a633da0881426721c50d50c5d06d7ee136d25ceb5c8990b28643c
title: Create and Activate a Decision Matrix to Create a Case for a Collection Plan
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/collections_create_decision_matrix_create_case.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.collections_create_decision_matrix_create_case.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 048a9cc3a987f779ac88506913e8a63cfd1131cae2a118805f4ef41ceb3ea18b
description: Create a decision matrix with the collection plan reason code, case reason, case priority, and case type parameters. The decision matrix updates the case field values automatically when a case is created for a collection plan.
products:
  - Industry Solutions
  - Cross Cloud
release: "264"
---
# Create and Activate a Decision Matrix to Create a Case for a Collection Plan

Create a decision matrix with the collection plan reason code, case reason, case priority, and case type parameters. The decision matrix updates the case field values automatically when a case is created for a collection plan.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <a href="https://help.salesforce.com/s/articleView?id=ind.collections_editions_permissions.htm&amp;release=264.0.0&amp;type=5" title="Review the supported products, editions, and permissions for Collections. Then learn how your product handles permissions and how to assign them.">View product and edition availability.</a></td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col>
          <col>
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d2491e68">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d2491e68 ">To create, update, and delete decision matrices and matrix versions:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d2491e68 ">Rule Engine Designer</td>

          </tr>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d2491e68 ">To use decision matrices in Business Rules Engine:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d2491e68 ">Rule Engine Runtime</td>

          </tr>
        </tbody>
      </table>

Here’s an example table that lists a few of the collection plan reason codes and their descriptions.

  
| Collection Plan Reason Code | Reason | Description |
| --- | --- | --- |
| CPR01 | Missed payments | The borrower has missed one or more payment deadlines, and the outstanding amount is more than 60 days past the due date. |
| CPR02 | Bounced checks | Payments made by the borrower have been returned due to insufficient funds or other issues. |
| CPR03 | High-risk borrower | The borrower has a history of making late or partial payments due to seasonal income or low credit scores. |
| CPR04 | Deceased account | Delinquent or missed payments due to the borrower’s unexpected death. |
| CPR05 | Bankruptcy | The borrower has experienced a significant change in their financial situation, such as a job loss or business shut down, or a medical emergency, affecting their ability to repay. |

Here’s an example of a decision matrix that lists probable case reason, case priority, and case type based on the collection plan reason code. Create a decision matrix according to your business requirements.

   
| Code | Reason | Priority | Type |
| --- | --- | --- | --- |
| CPR01 | Missed Payments | Medium | Collections |
| CPR02 | Bounced Checks | High | Collections |
| CPR03 | High-Risk Borrower | Medium | Collections |
| CPR04 | Deceased Account | High | Collections |
| CPR05 | Bankruptcy | High | Collections |

When you create a decision matrix, keep these considerations in mind.

- Plan your decision matrix structure before creating it.
- Before you create a decision matrix, make sure you understand its [functionality and nuances](https://help.salesforce.com/s/articleView?id=ind.decision_matrices.htm&type=5&language=en_US).
- Create the decision matrix with the name, DetermineCaseReasonAndRelatedAttributes.
- Create the first column with header type as Input and name it as Code. The code values that you enter here must map to the code values of the Collection Plan Reason object.
- Create the second column with header type as Output and name it as Reason. This reason column maps to the Reason field of the Case object.
- Create the third column with header type as Output and name it as Priority. This priority column maps to the Priority field of the Case object.
- Create the fourth column with header type as Output and name it as Type. This type column maps to the Type field of the Case object.

1. If your decision matrix has only a few rows of data, [create a standard decision matrix manually](https://help.salesforce.com/s/articleView?id=ind.create_a_standard_decision_matrix_manually.htm&type=5&language=en_US).
2. If you're dealing with sizable data, [use a CSV file to create a decision matrix](https://help.salesforce.com/s/articleView?id=ind.use_csv_files_to_create_modify_decision_matrices.htm&type=5&language=en_US).