@CleberM @renatoromao Global variables doesn't work reliably.
My observation & guess is that any PA action which attempts to return a value to a global variable does not do so reliably, and subsequent evaluations and tests of that variable do not work as expected.
I have a scenario where in one PVA topic I call a PA action which sets a boolean global variable to true as it returns.
In a later topic, this variable is tested with a condition for true/any other conditions.
The branch for "any other conditions" always executes.
I expanded the condition to include a check for false, so it now checks for true/false/any other conditions (I considered that maybe the variable is not set at all) and added messages to display the value of the boolean, before the branch and after each branch execution.
Now, the 'any other conditions branch' is still always taken, even though the message displayed AFTER the branch is that the boolean is set to True. See attached.
n.b. The widget to display variable values displays multiple values for variables - the variable in question always shows = True.
