This Interaction element evaluates a set of conditions, and then sends the Interaction user in an appropriate direction based on its rules. It is capable of reading from internal values, variables, constants, Question responses, and other elements, and evaluating those values to determine the appropriate decision.

Multiple evaluations can be made concurrently, and a decision made based on all or some evaluations being true. Values can be evaluated against other internal values, or against values inserted directly into the Decision element by the designer.

The Decision item uses standard comparators (equals, does not equal, greater than, less than, greater than or equal to, less than or equal to) according to what type of variable value is being evaluated. Thus, a text value will not be compared as greater than another text value. The choice of comparators is dynamically assigned according to the variable type.

Decisions can be used together with other decisions to create complex evaluations.

Sample Use Cases

A Decision item could be used where a change of direction may be needed due to circumstance, or where a customer may be handed over to a different representative based on a specific query. Some sample scenarios include:

  • A customer self help portal Interaction may need to make a decision based on a whole variety of possibilities. For example, a Decision could represent whether a customer should be provided with a returns address and information because an item is definitely faulty, or alternatively, be presented with guidelines on how to resolve the problem independently.
  • In a banking product Interaction, a Decision item could be used to determine whether a customer should be provided with a loan application, based on employment and overdraft information.

Defining Decisions

Creating a Decision involves specifying the logic of the conditions (AND or OR), and then selecting options from the dropdown lists of the Decision Definition dialog.

To define a Decision element:

  1. From the Insert menu, select Decision. Alternatively, from the Interaction Elements toolbar, click IconDecision, and then click inside the Interaction Map.
    The Decision Definition dialog opens.
  2. In the Reference Name field, enter a name for the element.
  3. From the Conditions dropdown list, select the required logic to be used in evaluating the conditions.
  4. At the bottom of the dialog, click Add Condition.
    A new row is added in the Conditions frame.

  5. Select the relevant options for the condition from the dropdown lists:
    • Left-hand dropdown: Lists the variables that can be evaluated.
    • Center dropdown: Lists the comparators to use.
    • Right-hand dropdown: Lists the variables to compare against. To enter a hard coded value, clear the Use existing element checkbox.
  6. add another condition, repeat Step 4.
  7. Click OK.
    The Decision element is configured.

Revision:

Comments