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
        

          Form Name

            [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 ]

            We were unsuccessful in reproducing the issue. Should you suffer from it still in JSM version 10.0+, please reach out to Customer Support, and we will gladly return to the investigation. There have been many improvements done in JSM 10 (e.g. Groovy version upgrade, java 17) that may have indirectly improved or fixed the issue described here.

            Bartosz Ornatowski added a comment - We were unsuccessful in reproducing the issue. Should you suffer from it still in JSM version 10.0+, please reach out to Customer Support, and we will gladly return to the investigation. There have been many improvements done in JSM 10 (e.g. Groovy version upgrade, java 17) that may have indirectly improved or fixed the issue described here.
            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

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

                Created:
                Updated:
                Resolved: