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

When using "Branching at the same time" step in the Automation, there's a visible performance problem

XMLWordPrintable

    • Severity 2 - Major

      Issue Summary

      When using the "Branching at the same time" Automation Step, it's possible to notice that there are delays on:

      • The overall Rule execution in Audit Log, which states the Rule took seconds to execute when it actually takes 4~6 minutes to complete, even though the branches are executing simple tasks like Log Actions with a more complex task such as lookupTables
      • The Audit Log also takes time to display all branches logs, which gives the assumption that although the Rule displays "Complete", it could be that some branches are still executing as the Audit Log will actually log this missing branch later on.

      Steps to Reproduce

      • Create an Automation Rule by using the “Branch at the same time” step.
      • Add 3 Branches within this step.
      • Add 2 Log Action steps to each of two branches, just adding any random values to be posted in the Audit Log.
      • In the remaining third branch, add a LookupItem step to query some Work Items, and another Log Action step after the LookupItem step.
      • Run the Rule; You’ll notice that the Rule's Audit Log will, for some performance reason, display the execution as complete:
        • After around 5 minutes
        • Display that it took seconds to complete
        • Depending on the lookupItem search, it'll take some time for this "third" step to be displayed in the Audit Log.

      Expected Results

      • That the rule displays it's still executing in the Audit Log instead of Complete, even though it's noticeable that it's still running
      • Display the results for all branches at the same time, instead of displaying "Complete" and the remaining Logs to be added after some time
      • More importantly: If possible, increase the overall execution speed while using the "Branch at the same time" step.

      Actual Results

      • Delays in the overall Automation execution
      • Delays in the logs displayed
      • Inaccurate status displayed, which leads to misinterpretation

      Workaround

      When possible, avoid using the "Branch at the same time" step and use the "regular" Automation branching options instead.

              Unassigned Unassigned
              2cbc34056992 Michel Guedes
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: