You are viewing the documentation for Blueriq 17. Documentation for other versions is available in our documentation directory.
Use the AQ_DecisionTreeSelector container to specify symptoms and search for conversations (decisiontrees) that match these symptoms. The matching decisiontrees are presented in a result-list. The display name of the decisiontree is used in this result-list.
The AQ_DecisionTreeSelector is usually combined with the AQ_DecisionTreeEvaluator. When you place both containers on the same page:
- the DecisionTreeSelector is shown before you select a decisiontree and again after you finished or stopped evaluation of a decisiontree;
- the DecisionTreeEvaluator is shown after you selected a decisiontree and pushed the selectButton;
When you place these containers on different pages you are responsible for creating the desired navigation behaviour by defining a process.
Parameters
The DecisionTreeSelector has five parameters.
Name | Description | Type | Required |
---|---|---|---|
symptom-attribute | The string attribute that represents the edit field for the symptoms and is a required parameter. | String | Yes |
threshold | A result should have a match-percentage equal to or greater than the threshold. When omitted the threshold is set to 0%. Value between 0 and 100 | Integer | No |
maxresults | The maximum number of decision trees that will be shown in the result-list. When omitted all results are shown. Positive integer. | Integer | No |
matchButton | Press this button to obtain the decision trees that match the specified symptoms. | String | Yes |
selectButton | Press this button to ‘start’ the selected decision tree. | String | Yes |
System events
Use the following system events to catch actions of the DecisionTreeSelector buttons.
Button | System event |
---|---|
matchButton | matchTree |
selectButton | selectTree |