Hello everyone
I noticed some strange outcomes while using the Conditional Decide option in a Decide activity in ProcessFlow. I want to make a decision based on the non-zero value of a token label labelName by setting "token.labelName?" as Condition. This results in the following code
int condition = /** \nCondition: *//***tag:expression*//**/token.labelName?/**/; if (condition) return /** \nIf Condition is true: *//***tag:true*//**/1/**/; return /** \nIf Condition is false: *//***tag:false*//**/2/**/;
Strangely, while token.labelName is a non-zero value, condition equals 0 and the Decide activity returns the wrong exit. If I replace condition in the if statement by an explicit token.labelName?, the conditional decide is correct.
Kind regards
Laurenz Peleman