Throwing this one out there, hoping that @Jamie Echlin [Adaptavist] or @Henning Tietgens can help with this one.
So, I've had a few problems with a set of post functions and fast tracks. One of my fast tracks was getting "skipped" because of a re-index that took too long, thus not updating certain fields to meet the conditions of the "Back to Reopened" fast track.
My problem now is that my script Sleep.groovy, using Thread.sleep(10000) to delay the post functions by 10 seconds after the index, is not doing the job.
My questions:
- Do the Post Functions execute the script then immediately move on to the next Post Functions while the script continues to execute?
- Or does it allow the entire script to execute, then upon completion, move to the next Post Function?
- Is there a way to script a delay that will halt the entire flow of the Post Functions to allow for a complete indexing? Or some kind of listener that can wait for it to complete?
postfunctions.PNG