Conditional Action Numeric Comparison Problem
I read Rod Ward's long blog on conditional actions in Captivate, which seems to be telling me if I have a user variable with a numeric value and I'm comparing it with a literal value of -1 to see if they are equal, it should work properly because, as Rod says, "what happens under the hood is that strings are first converted into numeric values before being evaluated". However, it's clearly not working. This is what I have for the IF condition: variable_name is equal to -1. The value of the variable reported in the Console (via a call to cpAPIInterface.getVariableValue()) is -1. And yet the conditional action is performing the ELSE action instead of the IF action, as if it thinks the variable, whose value is -1 is NOT equal to -1. Surely Captivate is not so lame that it can't handle the minus sign on the -1! Does anyone have an idea why this would not be working?