Forked Variable Demo

by Baz Cuda

Version 1 (July 9, 2019)

Download (163 downloads)

Demonstrates what Automate does when you use the same variable in separate forks. I built this as a learning tool for myself to answer some questions I had. I'm hoping others will find it useful and informative, too.

The result:
Each forked fiber gets its own independent copy of the variable.

Q: If separate forks converge into the same block in the flow, which copy of the variable will take precedence ?

A: Converging separate forks into the same block in a flow is just shorthand for duplicating that block in each fork. ie it's just code reuse. Which is why they all win.

Feel free to comment if you disagree with my interpretation of the results.

ps Only choose the first or second option at runtime. It will happily run if you select both, but the toast messages will fire at the same time so you'll only see one set.

5.0 average rating from 3 reviews

5 stars
4 stars
3 stars
2 stars
1 star

Rate and review within the app in the Community section.