
krzysztof.bozko1.552490543103543E12 asked a question.
Set IA Variable - differences in IA 2009 SP2 vs IA 2008 VP1
Hello,
I'm trying to build IA project with IA 2009 SP2.
I have found that for some reason the following pseudo-code works differently in IA 2009 SP2 and in IA 2008 VP1:
1. Custom code:
com.zerog.ia.api.pub.VariableAccess.setVariable("VAR1", "value1");
2. IA action "Set IA Variable":
VAR2=$VAR1$ (Evaluate at Assignment - false)
3. Custom code:
com.zerog.ia.api.pub.VariableAccess.getVariable("VAR2"); // This returns "value1" in IA 2008 VP1, but "$VAR1$" in IA 2009 SP2 !
Is it a known issue?
Is there a setting that would allow to switch to the old behavior?
(Of course I can set "Evaluate at Assignment" to true,
or use com.zerog.ia.api.pub.VariableAccess.substitute instead of com.zerog.ia.api.pub.VariableAccess.getVariable,
but it means much more work - I would prefer old behavior).
Thanks,
anu