The information in this article applies to:
Product: Metastorm BPM (e-Work)
Version: 6.6.x 7
Issue
A conditional formula fails when comparing a string against a string representing a boolean value.
For example, a form contains 2 text fields associated with variables Text1 and Text2. A button evaluates the following formula:
( (%Text1 = "true") )?((%Text2:="Success!")):()
Entering the string true or false into text box Test1 causes the formula to evaluate to true or false, respectively. However, entering any other string causes the evaluation to fail rather than evaluate to false, and the following error is written to the Designer log:
Conversion from text to boolean failed: Type mismatch.. Position: 19
Resolution