Forum Discussion

EitanTeomi-2435's avatar
EitanTeomi-2435
Community Member
19 days ago

If/Or statement issues in Storyline

Hello,

I'm having a weird issue where I have an If/Or trigger that determines which slide to move to.  It includes multiple If and Or statements that check against a variable. Take a look at the 2 screenshots. This first one, organized chronologically between Slide Var1, 2, 3 doesn't work and progresses to the wrong slide.

 

But if I reorder the triggers to this order it works as intended. 

 

Any idea why it's happening?

7 Replies

  • [Initial part of reply updated to delete misunderstanding. My bad.]

    It's hard to troubleshoot without seeing the .story file and knowing exactly how it's going wrong.

    Here are the best practices for uploading a .story file:

    • Only include slides that are related to the problem.
    • Be sure objects, layers, motion paths, and variables have meaningful names.
    • If there is proprietary content, replace or delete it. For example, replace proprietary text with “ipsum lorem” text.

     

  • Thanks for the reply. I uploaded an example .story for clarification.

    I guess the use of "var1...3" was misleading - these are just slide name. There is only one variable in this project: "Region" and it's set based on what the user clicks on the first slide.

    As is, if you click on "Washington" on the first slide, and go through the common slides it will navigate you to the wrong Var slide (Var2 instead of Var3). But if you reorder the triggers so that instead of Var1, Var2, Var3 it will be Var1, Var3, Var2 it works as intended.

    Any thoughts?

    Thanks,

    Eitan

     

    • JudyNollet's avatar
      JudyNollet
      Super Hero

      Oooops. I guess I shouldn't try to answer questions when I'm really tired. Seeing Var1, Var2, and Var3 in the triggers got me reading the triggers in the images wrong. Sorry. I updated my earlier reply to avoid confusion if someone finds this discussion in the future.

      Anyway, I'm glad you uploaded the file and that Dave got it to work. Yeah, deleting-and-recreating is often the answer to weird issues like this.

  • It should work either way but it doesnt, I would raise a ticket looks like a bug, even rewriting the triggers or splitting into individual triggers has the same problem.