We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have several problems with rules. Here is one of them: Let's look at the following rule:
if $timerRemain gets updated and $timerRemain > 0 then set $timerRemain to ($timerRemain - 1) after 1s
$timerRemain
Alternativ: 3. b) Change it back to a value <= 0. The rule fires once.
I conclude that the change of the variable $timerRemain triggers the rule before its value of $timerRemain is updated.
The text was updated successfully, but these errors were encountered:
I will look into that problem. Seems indeed that the "gets updated" event fires to early.
Sorry, something went wrong.
Might be solved, see http://forum.pimatic.org/topic/170/strange-behaviour-of-if-var-changes
No branches or pull requests
I have several problems with rules. Here is one of them:
Let's look at the following rule:
$timerRemain
is initially 0 or below$timerRemain
reaches 0. The process doesn't stop as expected by the rule$timerRemain
reaches -1. The process stops one step to late.Alternativ:
3. b) Change it back to a value <= 0. The rule fires once.
I conclude that the change of the variable
$timerRemain
triggers the rule before its value of$timerRemain
is updated.The text was updated successfully, but these errors were encountered: