Hello,
I have just worked around with transient variables and found an unexpected behaviour when setting transient variables to local store. It seems that these variables loose their transient flag and therefore are stored to database.
In AbstractVariableScope#setVariableLocal (line 369) a new variable instance is created without the transient flag, even if the given variable is transient.
Setting transient variables in non-local scope works as expected.
Can transient values not be used within local scope or might this be a bug?
I have written a unit test (ProcessTransientTest.java) to show my explanation:
Best regards,
Carsten