Maximum size of execution variables
Hi,
I am setting up variables for forms using execution.setVariable("..."). I believe some kind of HashMap is being used behind the scenes for this structure.
When setting up a large amount of variables, at some point, the first variables set up are deleted (it seems). It seems like the list of variable has a maximum allowed size.
Is this accurate? How to solve this problem? I have too many variables to set.
Thank you
Colin Van Eycken
Posted 1 year ago · Edited 1 year ago·Last reply 1 year ago
2 comments
stefan_busch
·1 year agoHi,
I unfortunately do not have a solution for your problem.
But out of curiosity, how many variables have you set? Until now I never ran into this problem?
Have you ever tried to group multiple of your variables into a map of your own? If the restriction is on the number of keys then this could circumvent the problem (if it is on the size of the data then it of course will not work).
Cheers,
Stefan
Colin Van Eycken
OP1 year agoHi,
I don't have an exact number but it in hundreds. I found a work around by combining data structures and direct variable assignment. The problem with using my own map to store in the execution variables is that a form cannot edit in my map. It can read from it but not write.
Anyway, it is solved but it's kind of a work around that might not hold for long.
Thank you,
Best regards