The order in which conditional action tabs are fired
Hi I recently created a conditional action and for some reason the logic failed... mainly down to the 'else' logic.
The user would start with a score of 6 held in a variable Var_Score.
The user would visit 6 different slides and complete an interaction that would either deduct '1' from the Var_Score if they completed the interaction correctly or not deduct anything Var_Score if they completed it correctly. So the highest score would be 6 and the lowest 0.
Each slide would have it's own variable e.g Var_Slide1, Var_Slide2... etc that would be assigned a '1' when the user completed the interaction on each slide. This is to keep a record of when the user had completed each interaction across all 6 slides.
Each slide would contain a home button. The home button then contained logic to check whether each interaction across all 6 slides had been completed, along with the score contained in Var_Score. Depending on the score it would then jump to a different slide. If not all of the interactions had been completed by the user it would jump them to a home slide.
This is an example of the logic...
There's 3 decisions: Low score, med score, high score (in that order).
The first decision would go as follows:
if Var_Score is equal or less than 0 And
Var_Slide 1-6 (there was a separate line for each of these variables) is equal to 1
Jump to slide 11
Else
Jump to slide 4 (the home slide)
The second decision would be almost identical however it would check if Var_Score is greater than 0 and less then 6 (plus all the slides variables were equal to 1) and if it was jump to slide 12 else jump to slide 4
Again the final decision would check if Var_Score was equal to 6 and all the Var_Slides were equal to 1 and jump to slide 13 if it was. Else jump to slide 4.
Now when I tested it if I got a score of 0, or a score between 1 and 5 it was jumping to slide 4. Despite me completing all the interactions across 6 slides. But it worked when I got a score of 6.
So I took out the else line in each decision which was 'else jump to slide 4'.
Instead I made the user go back to the home slide (slide 4) and put in some logic to show a button if all interactions had been completed. The button would then fire the original logic minus the 'else' part and it worked fine.
So it was the 'else jump to slide 4' on each decision that was stopping it from working, except in the case of the last decision.
I'm trying to figure out why it wasn't working though and I think it's to do with the order in which the decisions are triggered.
Any thoughts ?
