Validation errors
Several types of errors are displayed for missing or incorrect information in the nodes and paths while saving an element or activating a decision tree.
Question node errors
| Error message | Resolution |
|---|---|
| This node needs a unique name | Enter a name in the Node name field. |
| The questions in this node need to be unique | Enter a unique question or instruction in the Question or instruction field. |
| This node needs a question to ask users | Enter a unique question or instruction in the Question or instruction field. |
| The task input needs a reference table to pass data about records | Select a table in the Reference table field for the task input to pass data about the record on which this decision tree is run. |
| Question {number} needs a question or instruction | Enter a question or instruction in the Question or instruction field. |
| Question {number} needs an answer type | Select an input type for the expected answer in the Type of answer field. |
| Question {number} needs answer choices | The Choice answer type requires a choice list. Enter values in the Label and Value fields to configure a list. You can add as many choices as you want. |
| Question {number} needs an answer-string character limit | Enter a character limit in the Maximum number of characters field. |
| Type of answer in Question {number} doesn't exist | The answer type that you entered in the Type of answer field isn’t valid. Select the answer type from the list. For more information, see Answer types for questions. |
| Question {number} needs a choice table and choice fields for the answer(s) | The Pre-defined list from a table option for the choice answer type requires you to specify the choice table and choice field to reuse choices. Select a table and list field in the Choice table and Choice field fields respectively. |
| Choice table in Question {number} doesn't exist | Enter a valid table name in the Choice table field. |
| Question {number} needs a reference table for the answer(s) | The reference input type requires a reference table to be selected. Select a table in the Reference table field to add a reference field, which stores a reference to a field on another table, as an answer type. |
| Reference table in Question {number} doesn't exist | Enter a valid table name in the Reference table field. |
| You need to add a path after this node | Question nodes require paths to add the next question or guidance nodes. Select the Add path icon |
| The input you linked in Question {number} isn’t valid because of mismatched answer types. You can unlink this input, link a new one, or change this question’s answer type. | After you change a question’s answer type in a prior node, the input mapping from the question in the current node is no longer valid.
|
| The input you linked to Question {number} no longer exists after recent node changes. Unlink this input to fix this error. | Unlink the input by deleting the link. |
| The input you linked in Question {number} isn't valid because of mismatched reference tables with a prior node. Tables need to match at the same or child level. | 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.
|
Guidance node errors
| Error message | Resolution |
|---|---|
| This node needs a unique name | Enter a name in the Node name field. |
| This node needs a guidance | Guidance nodes must be linked to a guidance. Either select an existing guidance or create one.
|
| You need to set inputs for this guidance | Configure the guidance inputs for the guidance that you selected. For more information, see Provide actions to agents in a decision tree. |
| {Guidance input name} input isn't valid because of mismatched reference tables with a prior node. Tables need to match at the same or child level. | You can link reference input types only if the current guidance 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.
|
| The input you linked to {Guidance input name} no longer exists after recent node changes. Unlink this input to fix this error. |
|
| You need to reset the input(s) for this guidance because of changes in prior nodes |
|
Linking node errors and warnings
| Error message | Resolution |
|---|---|
| This node needs a unique name | Enter a name in the Node name field. |
| This node needs a child tree | Linking nodes must be linked to a child tree. Either select an activated decision tree or create one.
|
| You need to map the inputs of the child decision tree to this decision tree correctly. | Configure the start node inputs of the child decision tree or select the Link input icon ( |
| {Input name} input isn't valid because of mismatched reference tables with a prior node. Tables need to match at the same or child level. | You can link reference input types only if the current guidance 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.
|
| Warning message | Resolution |
|---|---|
| The child decision tree you linked earlier changed. Double-check the mapped inputs. |
|
Make sure these linked decision trees can still use {child decision tree}:
|
When you update and activate a decision tree, the parent decision trees that use this decision tree as a child tree must also be updated.
|
Path errors
| Error message | Resolution |
|---|---|
| This path needs a name | Enter a name in the Path name field. |
| This path needs a unique path priority | Enter a unique value in the Path priority field. |
| This path needs conditions for showing the next node | Configure one or more conditions by selecting an input from the previous node, an operator, and an input value. |
| Every condition in this path needs to be complete | Complete a condition in the path by selecting an input from the previous node, an operator, and an input value. |
| You need to add a node after this path | A path must lead to a node. Select Add node to configure the placeholder node as a question node or a guidance node. |
| The path condition needs new values because of changes in prior nodes | Reconfigure the path condition by selecting the new input from the previous node, an operator, and the new input value. |
| The path conditions can’t be defined until the prior node has a question and answer | Configure questions and answer types in the path's parent node. |