Forum Discussion
Request for Assistance with Scoring Logic in Storyline Test File
Hi everyone,
I’m working on a Storyline file that contains only a test module. The requester has asked for the test to be limited to three (3) attempts and it will be proctored.
We’re using Workday Learning as our LMS, which currently does not support xAPI.
Test Setup:
- Question bank: 22 questions
- Test randomly selects 20 questions
- Passing score: 100%
- Attempts allowed: 3
- Tracked using custom variables: Attempts and AttemptsLeft
Results Slide Includes Four Layers:
- Base
- Success
- Failure
- Failure – Last Attempt
The logic for tracking and displaying the appropriate layers on failed attempts (1–3) is functioning correctly. However, I’m running into issues with the Success/Pass logic when a user scores 100%—it does not seem to trigger reliably.
Results (base triggers)
Failure (Triggers)
Both the Success and Failure - Last Attempt layers are empty.
Request:
I’m looking for help troubleshooting or improving the scoring logic, particularly for successful attempts that meet the 100% requirement. I’ve attached the Storyline file along with the test answer key for reference.
Thanks in advance for any guidance or suggestions!
Hi Nedim, I just moved the Failure-Last Attempt trigger first on the base layer. That appeared to work. I tested several times, 3 failures, 1 failure and then 100%, and a 100%. All work as designed.
Nedim, can you explain the why the last attempt needs to occur first?
Thanks, Tina
4 Replies
- TinaDenmark-558Community Member
Hi Nedim, I just moved the Failure-Last Attempt trigger first on the base layer. That appeared to work. I tested several times, 3 failures, 1 failure and then 100%, and a 100%. All work as designed.
Nedim, can you explain the why the last attempt needs to occur first?
Thanks, Tina
- NedimCommunity Member
Let’s review the original trigger order:
The first trigger checks if the learner’s score is greater than or equal to the passing score. If true, it shows the Success layer. The second trigger also runs, but because the first condition isn’t met, it defaults to the else part which tells it to show the Failure layer no matter what.
As a result, both layers are triggered, but only the Failure layer is visible. That’s because in its layer properties, "Hide other slide layers" is enabled which hides the Success layer, even if it was shown first. To confirm this, if you uncheck "Hide other slide layers" in the Failure layer’s properties, you’ll see that the Success layer is also being shown, just hidden underneath.
By changing the order of the triggers, we technically get the same outcome: both the Success and Failure layers are shown. However, since Storyline executes triggers in the order they appear in the Triggers panel (top to bottom), placing the trigger that shows the Success layer last ensures it appears on top of the Failure layer.
- NedimCommunity Member
Try changing the order of triggers on the base layer.
1. Show layer Failure - Last Attempt
2. Show layer Success Hello TinaDenmark-558,
Thanks for reaching out and sharing your materials with us! I want to confirm I'm getting the same experience when testing your file and modifying the triggers on my end.
I've opened a support case on your behalf so our talented Support Engineers can take a closer look at your project file. We'll continue the conversation in your case. You're in excellent hands!
Have a great start to your day!