---
sourceDocument: Yokohama Customer Service Management
sourceDocumentLink: https://www.servicenow.com/docs/r/yokohama/customer-service-management

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama Customer Service Management

ft:clusterId :

    - csm

bundleId :

    - csm

workflow :

    - Customer and Industry


---

# Preparation for creating a decision tree

# Preparation for creating a decision tree {#ariaid-title1}

* Release version: Yokohama
* 
* Updated January 30, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Before configuring a decision tree, process analysts should document the flow of the decision tree using a flow chart including the questions, answers, associated paths, and guidance.

Anita, who is a process analyst at the StellarVest bank wants to create a decision tree that enables agents to troubleshoot a failed credit card transaction.

Anita first creates a flowchart to document the flow of a decision tree to determine the questions, answers, and possible guidance to configure.

{#preparation-for-creating-a-decision-tree__table_rw4_xdt_jzb__entry__4}

| No. | Element | Name | Description |
|-|-|-|-|
| 1 | Start node | [Card holder and transaction details](https://www.servicenow.com/docs/aFFIGXDEQWOU3aDao3Rm4g "Add questions to ask for credit cardholder details and transaction details and configure answer types in a start node in Decision Tree Builder.") | Start node that collects customer, credit card, and transaction details. |
| 2 | Path | [Amount is debited](https://www.servicenow.com/docs/3MeF8ea3MBePjsSqdWPAfA#configure-path-for-amount-debited "Configure a path for the amount-debited condition for the next guidance node.") | Path with condition: Amount is debited. |
| 3 | Guidance node | [Initiate transaction tracking](https://www.servicenow.com/docs/A8HFU6theNSdQXHSRaU3TQ "Configure a guidance node in Decision Tree Builder so that agents can initiate the transaction tracking.") | Guidance to initiate transaction tracking when amount is debited. |
| 4 | Question node | [Further assistance needed](https://www.servicenow.com/docs/av7QDl8j4MDa_ASSizw4yQ "Add a question node to ask users whether they need further assistance.") | Ask whether the customer needs further assistance. |
| 5 | Guidance node | Provide more options | Guidance to provide more options such as talk to an agent or request a new card. |
| 6 | Path | [Amount is not debited](https://www.servicenow.com/docs/3MeF8ea3MBePjsSqdWPAfA#configure-path-for-amount-not-debited "Configure a path for the amount-not-debited condition for the next question node.") | Path with condition: amount isn't debited. |
| 7 | Question node | [Failure codes](https://www.servicenow.com/docs/CJ2y0tBr~V2e6QafEBt7zg "Add a question to ask for the failure code that the customer received after a failed credit card transaction.") | Collect transaction failure codes when amount isn't debited. |
| 8 | Path | [Error 200](https://www.servicenow.com/docs/i~6_Mkuyg8ly2kngbRKshA "Configure a path for each failure code condition to provide appropriate guidance to agents.") | Error code received is 200. |
| 9 | Guidance node | [Reassign case](https://www.servicenow.com/docs/KRhI_1ToFk2ZJrfHmB44MQ "Associate guidances to paths with different failure code conditions.") | Guidance to reassign the case to someone else. |
| 10 | Path | [Error 300](https://www.servicenow.com/docs/i~6_Mkuyg8ly2kngbRKshA "Configure a path for each failure code condition to provide appropriate guidance to agents.") | Error code received is 300. |
| 11 | Guidance node | [Create work order](https://www.servicenow.com/docs/KRhI_1ToFk2ZJrfHmB44MQ "Associate guidances to paths with different failure code conditions.") | Guidance to create a work order for dispatching a new credit card. |
| 12 | Path | [Error 500](https://www.servicenow.com/docs/i~6_Mkuyg8ly2kngbRKshA "Configure a path for each failure code condition to provide appropriate guidance to agents.") | Error code received is 500. |
| 13 | Guidance node | [Assign IT technician](https://www.servicenow.com/docs/KRhI_1ToFk2ZJrfHmB44MQ "Associate guidances to paths with different failure code conditions.") | Guidance to assign an IT technician to resolve the issue. |
[Table 1. Flow chart for decision tree]

{#preparation-for-creating-a-decision-tree__table_rw4_xdt_jzb}

