-
Bug
-
Resolution: Unresolved
-
High
-
Severity 2 - Major
-
Warranty
Issue Summary
Conditions added to the trigger of an automation rule will be ignored if the trigger initially fails and the rule is retried later on, which can result in the rule executing when the conditions would have evaluated to false.
Steps to Reproduce
This issue requires an error to occur during when the trigger runs, it isn't easily reproducible.
- Create an automation with conditions configured inside the trigger, for example a check that the work item assignee is not empty.
- Execute the rule on a work item that is unassigned (so that the condition should fail).
- An error occurs when running the trigger, which causes the rule to be retried.
- The execution is retried and the trigger runs successfully.
Expected Results
The condition fails and no actions are performed.
Actual Results
The rule continues executing regardless of whether the conditions evaluate to false.
Workaround
Move the conditions outside of the trigger.