Page History
...
To use a decision tree follow these steps:
...
Table of Contents | ||
---|---|---|
|
Create a decision tree
First create a decision tree.
- Create a new decision tree in Studio.
- Enter name and display name.
Close the general tab.
Start building the decision tree by selecting an attribute for the first question ( condition node ).
Notetip |
---|
Please note attributes used in decision trees must belong to a singleton entity |
- For each possible answer you can select another node via the resource centric controls.
- A decision tree must end with a result node (container, asset, tree or action).
- In order to be able to search for a decision tree you must enter one or more symptoms in the symptoms tab on the right.
- Save and close the decision tree when it is finished.
Create a decision tree selector
- Create a new container.
- Enter the name.
- Select AQ_DecisionTreeSelector as the container type.
- Close the general tab.
- Enter the name of an attribute which holds the search query.
Infotip |
---|
This attribute must belong to a singleton entity and will be placed on the page by the AQ_DecisionTreeSelector container. |
- Enter the names of the buttons that will be used to search for (matchbutton) and select (selectbutton) a decision tree.
- The AQ_DecisionTreeSelector uses a trigram matching algorithm to determine which decision tree symptom matches with the search query and calculates an overall score for each decision tree.
Optionally you can enter a threshold ( percentage ) or a max number of results that are displayed.
Save and close the container when it is finished.
...
Create a decision tree evaluator
...
Note |
---|
Please note: the decision tree evaluator still uses actions to navigate a flow. Which actions are available are described in the the reference guide. |
- Save the flow.
- Test your decision tree in the runtime.
See also: Decisiontree example project.
...
title | Related articles |
---|
...