Hi
I'm trying to get edit a flow variable which may or may not be present. I am using an Edit Flow Variable node, and using getFlowVariable() method. This works for string variables, but I am having trouble with integer variable. It comes back with a "An error occured in an expression wiht output flow variables."
I tired different ways to see how this may work, initially using
Integer i = getFlowVariable("name","tInt");
this created an error that the ype between getFlowVariable() and i is wrong, so I switched to try
String s = getFlowVariable("name","tInt");
This is accepting by the node, but fails to run. I then tried
String s = getFlowVariable("name","tString");
and this didn't work either.
How can I get a flow variable by name for an integer variable?
David