by RyanLand
Version 1 (February 22, 2019)
Download (460 downloads)
๐ Example of how to make a first-time start detector. Handy for e.g. setups, only requires 3 MORE BLOCKS in your flow!
*3 blocks is not counting the flow beginning and toast blocks. Those blocks are not required for this to work.
How does it work?
An atomic variable (a saved variable) will be loaded on launch. At first launch that won't exist of course, so it's NULL. Now, an Atomic compare checks if the atomic is 1. In that case it can continue, but it's not 1! So it will proceed using the NO path, here the atomic gets added and it's value is set to 1. Now, next time you launch the flow it's set to 1!
PLEASE CONSIDER RATING :D
๐Changelog
โชv1 - 20/2/19
Initial version
5 stars | 5 | |
4 stars | 1 | |
3 stars | 0 | |
2 stars | 0 | |
1 star | 0 | |
Reports | 0 |
Rate and review within the app in the Community section.