You are viewing the documentation for Blueriq 17. Documentation for other versions is available in our documentation directory.

The AQ_DecisionTreeEvaluator container is used to process a conversation (decision tree) after selecting this decision tree in the AQ_DecisionTreeSelector. The container has no containment.

When you place both containers on the same page:

  • the DecisionTreeSelector is shown before you select a decision tree and again after you finished or stopped evaluation of a decision tree;

  • the DecisionTreeEvaluator is shown after you have selected a decision tree 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 DecisionTreeEvaluator has eight optional parameters.

NameDescriptionTypeRequired
continueButtonPress this button after answering a question from the decision tree so that the next question will be asked or the result will be shownStringNo
stopButton

Press this button to stop evaluating the decision tree

If this parameter is omitted no button will be shown
StringNo
retryButton

Press this button to clear all answers given during evaluation of this decision tree and re-evaluate the decision tree

If this parameter is omitted no button will be shown
StringNo
decisionTreeSourceExpression

Specify an expression which results into a key of the decisionTreeMapping parameter.

This parameter works with the decisionTreeTargetMapping parameter, both parameters need to be set for selection to take effect.

This selection method takes precedence over all other selection methods.

ExpressionNo
decisionTreeTargetMapping

Specify a mapping between a key and a decision tree. The result of the decisionTreeSourceExpression is a lookup key that is used to find the corresponding decision tree that should be executed.

This parameter works with the decisionTreeSourceExpression parameter, both parameters need to be set for selection to take effect.

This selection method takes precedence over all other selection methods.

DecisionTreeNo
DecisionTree

The name of a conversation (decision tree). Use this if you don’t use the decision tree selector first.

Do not use this parameter if you use the AQ_DecisionTreeEvaluator in combination with the AQ_DecisionTreeSelector.

DecisionTree

No
skip-filled-questionsThe tree will skip questions where the answer is known or can be derived.BooleanNo
show-implicit-answersThe user can edit derived values. When false, the derived values are displayed read-only.BooleanNo
answers-readonlyThe answered questions are displayed read-only.BooleanNo
show-attribute-solutionsThe attributes used as action in the tree are displayed.BooleanNo


Built in events

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

ButtonSystem event
continueButton_continueTree
stopButton_stopTree, _void
retryButton_retryTree, _void