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

            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.

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

                Created:
                Updated:
                Resolved: