eeros-project/eeros-framework

Condition should not have to stick when monitor validates

Opened this issue · 0 comments

Example:
Sequence A has a monitor with condition, while in step1 the monitor fires. Property is set to abort. Step2, which might be a sequence and step3 must abort as well. However, this happens only when the validate function of the condition keeps returning 'true'. This makes it impossible to reset a condition when returning 'true' for the first time.
validate() {
if (thingToCheck) {
thingToCheck = false;
return true;
} else return false;
}