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
        

            [JSDSERVER-11242] Using many Insight post functions stops some of them to execute

            Bartosz Ornatowski made changes -
            Assignee New: Bartosz Ornatowski [ bornatowski ]
            Bartosz Ornatowski made changes -
            Resolution New: Cannot Reproduce [ 5 ]
            Status Original: Short Term Backlog [ 12074 ] New: Closed [ 6 ]
            Mingyi Yang made changes -
            Attachment Original: image-2024-08-20-16-57-08-242.png [ 462141 ]
            Mingyi Yang made changes -
            Attachment New: image-2024-08-20-16-57-08-242.png [ 462141 ]
            Garima Katyal made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 938886 ]
            Divyanshi made changes -
            Remote Link Original: This issue links to "Page (Confluence)" [ 936607 ]
            Divyanshi made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 936607 ]
            Rob made changes -
            Labels Original: lts10 whl-fy24q3 whl-fy24q4 New: lts10 whl-fy24q3 whl-fy24q4 whl-fy25q1
            Rob made changes -
            Labels Original: lts10 whl-fy24q3 New: lts10 whl-fy24q3 whl-fy24q4
            Bartosz Ornatowski made changes -
            Sprint New: LTS Sprint [ 7234 ]

              bornatowski Bartosz Ornatowski
              mfilipan Marko Filipan
              Affected customers:
              10 This affects my team
              Watchers:
              14 Start watching this issue

                Created:
                Updated:
                Resolved: