In the ODM
documentation it says you can use logical operators with UNKNOWN. But it is not working for me. I am using Decision Center 8.10 with decision engine 1.40.7 and my rule looks like this.
if m10 is abnormal
or m13 is abnormal
then print "YES";
else print "NO";
the m10 is a variable that is an object and the object has a boolean function isNormal(). When I call the rule engine and EITHER of the m10, m13 is missing, then nothing is printed.
When I pass both m10 and m13, then it prints YES/NO correctly. But this is wrong! If m10 is abnormal and m13 is missing, it should print "YES". But it doesn't print anything. Is there something option that I need to enable to allow the UNKNOWN to be working correctly?
By the way, I tried a hack as follows...
if (m10 is not null and m10 is abnormal )
or (m13 is not null and m13 is abnormal)
then print "YES";
else print "NO";
and surprisingly this works!! I get "YES" when m10 is abnormal and m13 is missing. But that is very confusing to me. Why should the second rule behave any differently than my original rule??!?! it makes no sense.
------------------------------
John Henckel
------------------------------