Skip to main content

I tried to implement if/then/else with Paths and Storage, but the parallel nature of paths thwarted me. 

1) First, I send “False” to storage with an that is consistent throughout the Zap run.
 

 

 

  1. Then I have complicated branching logic. When a successful branch is found, I send “True” to storage
     
    1. Then, I have an always-run path that checks the value of this conditional. Has any path been successful? 


 




Ive seen in some places that paths run sequentially from left to right, but my testing seems to indicate that they run in parallel, so how do we implement “Do this, if no other paths have been successful?”

NVM. I found a similar approach that does the if/then/else in javascript, sets a variable and filters on the results. Thanks!


Thanks for following up here to let us know about the solution you found, @rnordin. Nice work on that! 🙌

Sounds like you’re all set for now but please do reach out to the Community again in future if you ever need help with your Zaps - we’re always eager to help! 🤗