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.


NameDescriptionTypeRequired
symptom-attributeThe string attribute that represents the edit field for the symptoms and is a required parameter.StringYes
thresholdA 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 100IntegerNo
maxresultsThe maximum number of decision trees that will be shown in the result-list. When omitted all results are shown. Positive integer.IntegerNo
matchButtonPress this button to obtain the decision trees that match the specified symptoms.StringYes
selectButtonPress this button to ‘start’ the selected decision tree.StringYes


System events

Use the following system events to catch actions of the DecisionTreeSelector buttons.


ButtonSystem event
matchButtonmatchTree
selectButtonselectTree