cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
bzokyf
Level 2

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).
Labels (1)
0 Kudos
(3) Replies
anujain
Level 3

Were you able to resolve this issue?

Thanks,
anu
0 Kudos
pv7721
Level 20

Have you tried in IA 2010 too?
0 Kudos
anujain
Level 3

Yes same problem with IA2010. Seems like the getVariable method has changed since IA2008_VP1 which we had previously.
0 Kudos