Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-11242

Using many Insight post functions stops some of them to execute

    XMLWordPrintable

Details

    Description

      Issue Summary

      Using many Insight post functions stops some of them to execute.

      It is suspected this is due to race condition that can occur when there are many functions executed (e.g. 4 or more).

      Steps to Reproduce

      1. Set up 4 or more different Insight post functions in your workflow
      2. Publish the workflow
      3. Use the transition with the defined post functions.

      Expected Results

      They should all work and be executed during the transition.

      Actual Results

      Some post functions will work but the others will not.

      Workaround

      In some cases, the following may help:

      • Re-arrange the order of the post functions.
      • For the post function that does not execute, add the following Groovy validator, that will delay the execution of the post function by 1 second:
        sleep(1000)
        return true
        

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mfilipan Marko Filipan
              Votes:
              10 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:

                Backbone Issue Sync