Linking inputs in decision tree nodes

  • Release version: Zurich
  • Updated July 31, 2025
  • 2 minutes to read
  • Summarize
    Summarized using AI
    This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.

    Summary of Linking inputs in decision tree nodes

    Linking inputs in decision tree nodes allows ServiceNow decision tree authors to reuse input values from previous nodes, streamlining the interaction flow by preventing redundant questions to agents. This feature enhances efficiency in both question and guidance nodes by automatically populating inputs with previously collected answers during runtime.

    Show full answer Show less

    Linking Inputs in Question and Guidance Nodes

    • Question Nodes: When an input is linked to a prior input, the question is hidden from the agent as the value is reused, eliminating the need for the agent to answer again. Linked inputs can also be used to create path conditions based on reused answers.
    • Guidance Nodes: Linked inputs enable reuse of customer-provided answers to supply values for guidance inputs. For example, the task input from the start node can be linked to guidance inputs to pass context such as the record the agent is working on, facilitating actions like case reassignment without requiring the agent to re-enter information.

    Special Cases and Input Type Compatibility

    Typically, inputs can only be linked to prior inputs of the same type. However, Guided Decisions Experience supports exceptions, including:

    • String Input Fields: Can accept links from various field types such as integer, decimal, and choice, since strings accept any characters.
    • Reference Input Fields: Can only link to reference fields where the input tables match or are in a parent-child relationship (e.g., Task to Task or Task to Case).
    • Choice Input Fields: Can accept links from choice or string types.
    • Date and Date/Time Input Fields: Support linkage among glidedatetime, glidedate, date, datetime, duedate, and calendar types.

    Note: glidevar type fields are not supported for input linking in Guided Decisions Experience.

    Linking of inputs enables decision tree authors to reuse input values (answers) from prior nodes.

    Linking inputs in question and linking nodes

    Most questions are presented to an agent to provide answers. When you link an input to another input, the question is not displayed to the agent. Because the input reuses values from the input it is linked to, the agent does not need to provide any answer.

    Similar to other inputs, you can use linked inputs to create path conditions.

    Figure 1. Example of linking inputs in a question node
    Question related to credit card number in a decision node that reuses the answer from the start node.

    For example, if you have already asked the credit card number in the start node, you can reuse that input in the following question node. This question is not presented to the agent again and the value is automatically filled out during run time.

    Linking inputs in guidance nodes

    With linking inputs, you can reuse the answers that customer provided to supply input values to the guidance inputs. You can link the task input in the start node to the guidance inputs to pass the information about the record that the agent is working on.

    Figure 2. Example of linking inputs in a guidance node
    The reassign case guidance uses the input mapping feature to link the task input in the start node to the guidance input.

    For example, you can connect the start node’s task input to the following guidance. The task input holds a reference of the record the agent is working on in a workspace. You need a case number, which is provided by the task input, for reassigning the case to someone else.

    Special cases for linking inputs

    In most cases, you can only link inputs to other prior node’s inputs of the same type. For example, you can link a string input field type to another string input field type.

    The Guided Decisions Experience application supports the following special cases.
    Table 1. Cases supported in the Guided Decisions
    Input type Description
    String input field type Accepts any type of field to be linked. For example, string accepts integer, decimal, choice, and others. String is a text field which accepts any characters.
    Reference input field type Accepts only reference type of field.

    You can link reference input types only if the current question node’s input table matches the prior node’s input table at the same level or at the child level. For example, the Task table can be linked to the Task table or the Task table can be linked to the Case table, which is a child of the Task table.

    Choice input field type Accepts choice type and string type because a choice in a choice list is a string.
    Date and Date/Time input field types Accepts the following types:
    • glide_date_time
    • glide_date
    • date
    • datetime
    • due_date
    • calendar
    Note:
    The Guided Decisions Experience application does not support glide_var type fields to map to any inputs.