Decision tree nodes
Summarize
Summary of Decision Tree Nodes
Decision trees in ServiceNow consist of various nodes that guide agents through a series of questions and recommendations. Key node types include start nodes, question nodes, guidance nodes, and linking nodes, each serving a distinct purpose in the decision-making process.
Show less
Key Features
- Start Nodes: The initial point of a decision tree, requiring a title, description, and at least one question. It includes a task input of reference type for record tracking.
- Question Nodes: These nodes present questions to agents, leading to different outcomes such as additional questions or guidance. They support HTML formatting for enhanced clarity.
- Guidance Nodes: These provide agents with recommendations, such as linking to knowledge articles or creating work orders. Each guidance can define output variables to facilitate further decision-making.
- Linking Nodes: These connect to other decision trees, allowing for complex troubleshooting scenarios. They include input mapping and a path for seamless navigation between decision trees.
Key Outcomes
By utilizing decision tree nodes, ServiceNow customers can streamline agent workflows, improve troubleshooting efficiency, and enhance overall customer service. Agents can navigate back through previous nodes and modify responses, ensuring adaptability in decision-making processes. Effective use of these nodes leads to quicker resolutions and better-informed agents.
Decision trees include several types of nodes, including start nodes, question nodes, guidance nodes, and linking nodes.
A decision tree begins with a start node, which presents the first set of questions to an agent. The start node is typically followed by a question node, which asks another set of questions. A question node can be followed by another question node, a guidance node, which provides a recommendation to an agent, or by a linking node, which includes a reference to another decision tree.
You can enable agents to modify their responses in previous nodes:
- Agents can go back to the previous node by selecting the Back button.
- Agents can jump to any previous node by selecting the Edit icon
) in the View my responses tab.
For more information, see Create a decision tree in Core UI and Add questions or instructions to a decision tree.
Start nodes
A start node is the first node in a decision tree. When you create a decision tree, you provide internal and external names, a title and short description, and a name for the action label. After saving the record, the system creates the decision tree and the start node. You can use this start node to build the rest of the decision tree.
A start node includes a minimum of one question. A start node always has a task input of reference type so you can reuse the task input in other decision or guidance nodes via linking inputs. The task input includes a reference to the table that stores the record type that the agent is working on.
Decision or question nodes
A question node asks one or more questions. The answer to the question leads to an outcome, which can be another question, a guidance for the user to follow, or another decision tree.
- For resetting a password: "What is the customer's account ID?"
- For troubleshooting a faulty device: "What is the device type or model number?"
The answers to the questions are used to create path conditions.
For more information about the available answer types, see Answer types for questions.
Guidance nodes
A guidance node proposes a solution to a customer’s issue through a reference to a guidance, which provides a recommendation to an agent. Examples of a guidance include recommending a knowledge article, creating a work order, or escalating a case.
A guidance node can be followed only by a question node. The execution of the decision tree continues after the agent performs the guidance, and the guidance history is marked as complete. You can use a question node to connect two guidance nodes.
- Define output variables.
- Define values for the output variables, which are mapped in the Automation Plan flow for the guidance by the Assign Guidance Outputs flow action.
- Connect the guidance to the guidance node's next node.
- Map the outputs of the guidance to inputs for the guidance node's next node.
For descriptions of the available guidances, see Guidances included with Guided Decisions Experience application.
Users with the Decision tree author role can also create guidances to reuse in decision trees or recommended actions. For more information, see Create a guidance in the Core UI.
Linking nodes
A linking node includes a reference to another decision tree. This type of node connects the execution of the primary decision tree to another decision tree when a defined condition is met.
Linking to another decision tree is useful for complex troubleshooting or for troubleshooting that requires multiple stages.
- A linked decision tree, where the execution of the primary decision tree continues after this node is reached.
- Input mapping, which maps the inputs from the nodes preceding the linking node to the start node of the linked decision tree.
- A path, which connects the previous question node to the start node of the child tree.
- For Decision Tree Builder: Link an activated decision tree to this decision tree.
- For Core UI: Link another decision tree to this decision tree