Groovy grids - too many grids open at the same time
SummaryRunning of groovy rule with multiple grids causes issue
I am trying to run a Groovy rule where I build grids to both read and save data. To avoid the threshold issue, I run it through a loop where I create a grid, do the necessary steps and close the grid. Even though I close the grid, after a few iterations, I get the error that "too many grids are open at this time" and it stops execution.
I even tried avoiding the looping and instead scheduled the rule to run multiple times, where in each run it would do exactly what one iteration of the for loop would do. I tried this to see if the rule's execution is done, maybe that would bypass the issue at hand, but I get the same error after few instances of the rule running.