Forum Discussion
Identical Triggers Not Working
I'm a bit at my wits end - I've spent all day trying to figure out why this particular course isn't working.
We have these timers in our courses for State compliance reasons and they work pretty well - we've refined the template and squashed all bugs, I guess until today.
At first it was just one scene not working (scene would not advance even after the timer reached 00:00) but I removed and replaced them 2x now from a file that I know for sure works (and just in case, I tested it today and it worked) and now no scenes work.
I truly don't want to have to rebuild the course but I can't find out what's wrong with the timer triggers that it won't allow me to move forward after it hits 00:00.
5 Replies
- SamHillSuper Hero
Hi HannahWright-70 that is one of the strangest requirements I've seen for eLearning. I don't know how people dream up these ideas that it will make somebody more compliant for forcing a time. Anyway...
I tested scene 2 and it worked fine. When the counter was zero and I selected Next on the last slide, it wanted to take me to the next scene. If the counter was not zero, I was shown the Time Remaining layer.
Where you might have a problem though, is on the last slide. For example, in Scene 2, CH2Done can only be set to True if the timer is on 00:00 when the timeline starts on the last slide. So, if I arrive at the last slide, and the timer is at 00:02, CH2Done will not be set to True. If I remain on the slide, it will never be set to True, as the trigger is happening on Timeline Start:
You need to supplement this trigger with another trigger that will set CH2Done when the timer reaches zero based on the variables changing, so it can happen as soon as you reach 00:00, like this:
As you can see, you need to set the trigger on each of the variables that are changing (hh:mm:ss) and then evaluate if all equal zero. If they do, you can set CH2Done to True.
FYI, you can place these triggers in your Master Slide rather than on the individual slides. This makes it easier to disable the trigger when you deploy to production:
- HannahWright-70Community Member
I'm sure there are other ways to achieve the same requirement from the state, but this is the solution I inherited. Which is likely where a lot of my confusion lies. I didn't build these triggers but they've been working for the last 2 years since the person who did left the company.
I'm not sure I understand your solution as I've never changed the variables and they've worked up until this course and similar triggers exist on the master slide.
I built another class last week with the same template, and the timers work without issue, and I spent a good chunk of the day simply comparing them, and they are identical.
We are changing that in most of our courses but with as many as we have it's a project that's back-burnered.- HannahWright-70Community Member
Going to call this one solved - I added the content to a fresh template and it works as expected. 🤷♀️
- HannahWright-70Community Member
I guess my file didn't upload... https://workdrive.zohoexternal.com/external/21de5ba6d5671dafa9540a523139c0cc03212b648962bdb4dbe005685b1f5dc3