Uploaded image for project: 'Automation for Cloud'
  1. Automation for Cloud
  2. AUTO-2109

Trigger conditions are ignored when trigger fails and is retried

XMLWordPrintable

    • 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.

      1. Create an automation with conditions configured inside the trigger, for example a check that the work item assignee is not empty.
      2. Execute the rule on a work item that is unassigned (so that the condition should fail).
      3. An error occurs when running the trigger, which causes the rule to be retried.
      4. 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.

              6bb0e10f1143 Shubham Kumar
              428abf2d1b64 Madisson Lynch
              Votes:
              4 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated: