Conditional+Looping Timelines #2409
-
Hello,
In place of additional details: Thanks in advance for any help! I hope I did describe everything precisely enough. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @ritu9901, I think what you need to do is move the logic from the Also, I don't think you want to use the I hope this helps! Let us know if you need more guidance. |
Beta Was this translation helpful? Give feedback.
Hi @ritu9901, I think what you need to do is move the logic from the
else
block into a conditional node, which will go in your loop timeline afterpgs
. So your looping timeline will be something like[pgs, new_trial_conditional]
. Then on each iteration of the loop, thepgs
trial will run, then the conditional node will determine whether the additional trial should run or not before the loop continues.Also, I don't think you want to use the
compareKeys
function in your if statement - see my comment about that here.I hope this helps! Let us know if you need more guidance.