Error when running Transaction version 10 scripts with an IF condition.
*In Transaction 10.x this functionality is not supported. In 10.x there are separate mappers for normal and long text fields, so it is not possible to apply an IF condition on long text fields. It is also not possible to do the same in Studio 11.x, if the script is saved as any version other than Transaction v11.
*This can also happen if an if condition is wrapped around the entire script
Solution 1: For long text fields to be contained in an IF condition, we have to save the script as a version 11 script.
Solution 2: Move the first screen (screen only) out of the if condition, the condition will be able to be evaluated correctly and will resolve the error.