2) What is the expected behavior?
I have a piston which I want to be stateful between executions. So, I define a boolean (‘boolFirstExecution’) and InitialValue is left at Nothing Selected (no value). I want to set it to true on the very first run and false on every future run.
3) What is happening/not happening?
If I were to initialize the value, I understand it gets reset on each piston execution.
I was looking through system variables in hopes of finding one I could use. Are $currentEventDate and $previousEventDate both not initialized on first run? Just looking for the cleanest viable option.
Could I do this psuedocode?
if (boolFirstExecution is not true) and (boolFirstExecution is not false)
then
Do my one time init
Set boolFirstExecution = true
Thanks!