Skip to content

Decision rules

A Condition node in an EduBase journey routes each participant down the first branch whose rules they meet, or down else. Each rule compares one field, such as the result of the step just completed or the participant's department, with a value. This page lists the fields and operators. The rules are set in the editor; no AI decides the route.

How branches and rules combine

  • Branches are checked in order; the first one that holds wins.
  • Within a branch, choose all rules must be satisfied or any rule is sufficient.
  • A branch without rules always holds; put it last or use else instead.
  • Up to 16 branches per condition and 16 rules per branch.

Fields

Step completed

The step the participant has just finished.

Field Type
Result (%) number
Successful completion yes/no
Grade text
Number of attempts number
Time to complete (minutes) number
Number of visits to step number
Skill a skill of the Quiz set, by score or percent (%)

Previous steps

Any earlier step of the journey, chosen in the rule: Result of a previous step (%), A previous step was successful, Grade for a previous step, Time taken to complete a previous step (minutes), A previous step completed, Visits to a previous step and Skill of a previous step.

When the participant visited that step more than once, choose which visit counts: last completion (the default), first completion, best performance, weakest performance or average performance.

User

Field What it holds
Exam user field A field the participant filled in when starting an exam of the journey, such as a site or a license number. See Collect participant data at the start.
Gender The participant's gender.
Date of birth A date.
Custom user data A named field of the participant's account.
Department, Job role, Team The participant's place in the organization.
Generated exam account Whether the participant uses a generated exam account.

Advance

Field What it holds
Competency status The participant's status for a chosen competency. The editor names the statuses not started yet, in progress, coming up soon, deadline expired, outdated, completed and expired validity, for waiting, in progress, due, overdue, outdated, completed and expired. See Competency statuses explained.
Class completed Whether the participant completed a chosen class.

Journey

Field What it holds
Journey tag A tag set earlier by a Tag node.
Counter A counter changed earlier by a Counter node.
Output of another journey The outcome the participant reached in another journey.
Days spent on the journey Whole days since the participant started.
Steps completed How many steps the participant has completed.

Date

Day of week, Hour, Date and Date and time at the moment of the decision. Hours and dates with a time are evaluated in the time zone of the editor who wrote the rule.

Operators

Value type Operators
Number at least, greater than, at most, less than, equal, not equal, between, set, not specified
Yes/no yes, no, not specified
Text equal, not equal, includes, any, none, set, not specified
List (department, job role, statuses, outcomes) any of the chosen values, none of them, set, not specified
Date, date and time at the earliest, later than, no later than, earlier than, equal, not equal, between, elapsed since then, set, not specified

not specified holds when the field has no value, for example a step the participant has not reached. between includes both boundaries.

Time elapsed since a date

elapsed since then counts whole years, months, weeks, days, hours or minutes from a date to the moment of the decision, negative for a date in the future. With it you can route on:

  • age, from Date of birth: at least 18 years;
  • time since hire or since a license was issued, from a date in Custom user data or an Exam user field;
  • days until a due date: a negative number of days.

When results change

If a result is corrected after the decision, by re-evaluation or manual scoring, and the participant has not moved on from the next step yet, EduBase makes the decision again with the corrected result.

Examples

Goal Branch rules
Send high scorers to the finish Result (%) at least 80
Route by role Job role any of forklift operator, shift leader
Skip training someone already holds Competency status any of completed
Stop after three failures Counter fails at least 3
Only adults Date of birth, elapsed since then, at least 18 years

More complete patterns are in Journey recipes.

Limits

  • Up to 16 branches per condition and 16 rules per branch.
  • Up to 64 values in a list rule.
  • A rule can only see data EduBase has: results, the participant's account and organization data, and data collected by exams.