The information in this article applies to:
Product: Metastorm BPM
Version: 6.6.x 7
Issue
A conditional statement contains a non-existent (misspelled) variable. If the error is in that part of the statement executed if the condition evaluates to TRUE, the error is not detected by the syntax checker in the formula editor nor during validation when publishing. If the error is in that part of the statement executed if the condition evaluates to FALSE, the error is detected. A non-existent variable in the condition itself is also detected.
Here's an example:
Variables txtTest1 and txtTest2 exist. Variable txtTest does not exist. The name of the map is SyntaxChecker.
Error detected:
((%MapName = SyntaxChecker) )?((%txtTest1:="MapNameCorrect")):((%txtTest:="MapNameFalse"))
((%MappName = SyntaxChecker) )?((%txtTest1:="MapNameCorrect")):((%txtTest2:="MapNameFalse"))
Error not detected:
((%MapName = SyntaxChecker) )?((%txtTest:="MapNameCorrect")):((%txtTest2:="MapNameFalse"))
Resolution