How to build a branching scenario: triggers and variables in plain English
A practical guide to branching scenarios: planning the decision map, using variables to track choices, triggers to branch, layers for feedback, and testing every path.
Branching scenarios are the most effective thing most courses don’t have. Instead of telling learners the right answer, you put them in a realistic situation, let them choose, and show the consequences.
They have a reputation for being hard to build. They’re mostly hard to plan. Here’s how to do both.
1. Start with one real decision
Pick a moment where people in the job actually go wrong. For example: a customer calls, angry that a refund hasn’t arrived. Ask a subject-matter expert:
- What do good people do here?
- What do people usually do instead?
- What happens next in each case?
Those common mistakes become your wrong choices. They’re far more useful than invented, obviously wrong options.
2. Map it before you build it
Draw the scenario as boxes and arrows, on paper or a whiteboard:
- 3 to 4 decision points is plenty for one scenario,
- 2 to 3 choices at each,
- let paths rejoin, or the number of slides explodes (three decisions with three choices each is 27 endings if nothing rejoins),
- end with 2 to 4 outcomes: great, recovered, poor, and so on.
3. Learn the three building blocks
Every authoring tool’s interactivity comes down to the same three ideas.
Variables remember things. A number like Satisfaction, a true/false like
OfferedCredit, a text value like CustomerName.
Triggers do things when something happens. Each one has three parts:
Action · when event · if condition
Layers show things on top of a slide without leaving it: feedback, a pop-up, the customer’s reaction.
4. Build the decision slide
For a choice point, you’ll typically need:
- an Adjust variable trigger on each choice, to record the effect,
- a Show layer trigger to show the immediate consequence,
- a Jump to slide trigger from that layer to the next decision.
In SCORMCraft, triggers read as plain sentences, so a reviewer can follow the logic without opening a dialog:
Add 10 to Satisfaction when the user clicks Apologise first.
Show layer Customer calms down when the user clicks Apologise first.
Jump to slide Offer a solution when the user clicks Continue.
5. Branch on what happened
At the end, send the learner to the outcome they earned with conditions:
Jump to slide Great outcome when the timeline ends if Satisfaction ≥ 30.
Jump to slide Recovered when the timeline ends if Satisfaction ≥ 10 and OfferedCredit is true.
Jump to slide Poor outcome when the timeline ends if Satisfaction < 10.
Make sure every possible value is covered, so no learner reaches a slide with nowhere to go.
6. Give feedback that teaches
A consequence is more convincing than a correct/incorrect message:
- Show what happens next: the customer’s reply, a manager’s email, a number on a dashboard.
- Then explain why, briefly.
- Let poor choices be recoverable sometimes, as they are in real life.
7. Test every path
Branching scenarios break in the paths nobody clicked. Before you publish:
- Walk the map: in SCORMCraft, Story View shows the whole course as a map, with every branch and where each trigger sends the learner, so you can see unreachable slides and dead ends.
- Click every choice at least once in preview.
- Watch the variables change as you go.
- Take it by keyboard only. Every choice must be reachable without a mouse.
8. Report it to the LMS
Decide what counts as success. You can send the scenario score to your LMS as part of a quiz result, or simply mark completion when the learner reaches any ending. Our guide to SCORM 1.2 vs 2004 explains how completion and pass/fail are reported.
Start small
One scenario with three decisions, built well, does more than a 40-slide click through course. SCORMCraft includes 12 trigger events, more than 20 actions, AND/OR conditions and a variables manager that shows everywhere a variable is used. See everything it can do.