Condition

The condition workflow item splits a workflow in two. Learners take different paths depending on whether a variable does or doesn't meet a set of criteria specified in the condition. 

 

mceclip0.png

 

Configuring it

First, decide what you need to know. Do you want learners to receive different outcomes based on how they performed in a test, what their email address is, where they're located? You need to make sure the information you're questioning is available in a Variable. The variable you select will form the basis of your criteria.

Then you need to select an Operator, this dictates how the condition will evaluate the variable.

Condition_1.gif

And finally you need to enter a Value that the operator will use to evaluate your variable.

 For example: 

mceclip0.png

This workflow gets the learner's completion information for the staff handbook, then the condition asks whether that completion is "true". If it is "true", the learner follows the green true route beneath the condition. If not, they follow the red false route. 

 

Multiple Conditions

Allow multiple conditions if enabled will evaluate additional conditions. Any additional conditions will not be evaluated when disabled but will be saved until deleted.

Additional conditions are key-value table structured in the same way to the first condition where input, operator, and value to compare to are added.

The Condition setting allows different modes of evaluation:

AND mode - will evaluate conditions until a false is found, it requires all condition to be a truthy value

Or mode - will evaluate conditions to find the first truthy value

multiple-conditions.png