---
sourceDocument: Xanadu Customer Service Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/customer-service-management

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu Customer Service Management

ft:clusterId :

    - csm

bundleId :

    - csm

workflow :

    - Customer and Industry


---

# Configuring decision trees in Decision Tree Builder

# Configuring decision trees in Decision Tree Builder {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read

Configure decision trees using the no-code visual Decision Tree Builder, which provides a canvas for a diagrammatic representation of nodes and their paths in a troubleshooting process.

As a process owner or business analyst, you can configure [decision tree](https://www.servicenow.com/docs/access?context=now-platform-glossary&version=xanadu&pubname=xanadu-glossary&section=gloss-decision-tree&ft:locale=en-US) by adding nodes, defining paths, and attaching guidances through Decision Tree Builder. For more information, see [Decision tree nodes](https://servicenow-prod.fluidtopics.net/Q96KSQ4Bew6Kwdn8ijwHsA "Decision trees include several types of nodes, including start nodes, question nodes, guidance nodes, and linking nodes.").

You can validate and activate a decision tree with a single action. For more information, see [Activate a decision tree](https://servicenow-prod.fluidtopics.net/tgctbM8xMNm6QG3X3v0uBg "Activate a completed decision tree so you can use it in playbooks created using Playbooks, in recommendations created using Recommended Actions for Service, or in Service Portal.").

## Decision Tree Builder canvas {#decision-trees-in-gdb__section_nnc_jpk_swb}

## Accessing Decision Tree Builder {#decision-trees-in-gdb__section_zmq_l4w_3zb}

You can access the Decision Tree Builder by selecting the Open in Builder button on the decision tree record.

## Configuring question and guidance nodes {#decision-trees-in-gdb__section_bmp_cpk_swb}

You can configure a new node as a question node or a guidance node. When there are multiple questions in a start node or a question node, you can delete a question or change the order of the questions. For more information, see [Add questions or instructions to a decision tree](https://servicenow-prod.fluidtopics.net/6Weg9BgSRXh4SLLu0uPsLw "Add questions you want to ask your customers or instructions you want to provide to them and configure answer types in a start node in Decision Tree Builder.").

Guidance nodes provide actions to agents to resolve or escalate a customer issue. You can either select a guidance from the list of available guidances or create a guidance in Core UI. You can then configure guidance inputs by entering static values or reuse inputs from prior nodes. For more information, see [Provide actions to agents in a decision tree](https://servicenow-prod.fluidtopics.net/0lN_CZ2JItSM0ZpJt7ZtJQ "Configure a guidance node in Decision Tree Builder so agents can view a recommendation on what to do next.").

## Linking node {#decision-trees-in-gdb__section_erf_yk4_tzb}

You can configure a new node as a linking node to link a child decision tree to the current decision tree. This linking connects the execution of the primary decision tree to another decision tree when a specific condition is met.
For more information, see [Link an activated decision tree to this decision tree](https://servicenow-prod.fluidtopics.net/YhJzzdJZglrp1UBq3TkQ8A "Nest and invoke a decision tree from a linking node when specific conditions are met in Decision Tree Builder. Use nested trees to execute complex troubleshooting and reuse existing decision trees.").

## Creating paths for the next nodes {#decision-trees-in-gdb__section_zgv_dpk_swb}

A path in a decision tree connects one node to another. You can configure a condition to define when the path must be taken. Selecting certain answers can be a condition for the path. The priority order for a path sets the
precedence of one path over another.

For more information, see [Determine the next node displayed in a decision tree](https://servicenow-prod.fluidtopics.net/Rlp_0wc~dcOof_rtV0NYWg "Configure a path in Decision Tree Builder to set the conditions for when the next question or a guidance is displayed in a decision tree.").

## Editing a node or a path {#decision-trees-in-gdb__section_nnw_2xk_swb}

When you edit the inputs of nodes and their paths, make sure to update the following nodes as well because they might be reusing data from these inputs.

## Deleting a node or a path {#decision-trees-in-gdb__section_kh4_yw3_zwb}

Note the following information about deleting a node or path:

* You can delete a leaf node if it isn't connected to any path or a node.
* Deleting a leaf node removes the node from the decision tree but the configuration of the path before the deleted node remains intact.
* You can't delete an intermediate node or path.
* When you delete the question node after a guidance node, both the question node and the path are deleted.
{#decision-trees-in-gdb__ul_ov3_31y_gxb}

## Linking inputs {#decision-trees-in-gdb__section_ygk_mkt_cxb}

You can link inputs from one node to another to reuse input values from prior nodes. You can use linked inputs to create path conditions. For more information about input mapping in the question node or guidance node, see [Linking inputs in decision tree nodes](https://servicenow-prod.fluidtopics.net/2ZS5nbOKUOZa6Dmtvjxp_w "Linking of inputs enables decision tree authors to reuse input values (answers) from prior nodes.").

For more information, see [Reuse answers at decision points](https://servicenow-prod.fluidtopics.net/LpqemIEsl6DRL_01PzZegQ "Link inputs to reuse answers from prior nodes in Decision Tree Builder. For example, in a decision tree that deals with a loan application, you could reuse the input related to the customer’s salary at multiple decision points to determine the loan eligibility.").
**Related concepts**   

* [Validation error notifications in Decision Tree Builder](https://servicenow-prod.fluidtopics.net/X2EBQ3py6r_v~qxwRxDQ3g "Notifications of errors that you may encounter while building and activating a decision tree in Decision Tree Builder enable you to easily recover from errors.")  
**Related tasks**   

* [Activate a decision tree](https://servicenow-prod.fluidtopics.net/tgctbM8xMNm6QG3X3v0uBg "Activate a completed decision tree so you can use it in playbooks created using Playbooks, in recommendations created using Recommended Actions for Service, or in Service Portal.")
* [Revert to the previous activated decision tree version](https://servicenow-prod.fluidtopics.net/9f5BFqIGgtsTIDt5oxmYFg "Discard any changes in a non-activated decision tree and revert the decision tree to the last activated version.")

