Hi,<br> I cam to know that we can compare BigDecimal, Long, Integer interchangeably in the LHS of rule like<br><br><b>when<br> Message(Decimalstatus == Longstatus)</b><br><br>I found that this rule will fire as long as both Decimalstatus and Longstatus Values are same. But when I try to use this feature in the below mentioned way<br>
<br><b>when<br> Message($dec:Decimalstatus)<br> Message(longstatus == $dec)</b><br><br>This rule doesn't fire even though I have two Message object which satisfy the condition.However, when I try <br><b><br>when<br>
Message($dec:Decimalstatus)<br> Message(longstatus == $dec.longValue())</b><br><br> It fires properly. Is this an issue or am I missing anything? Any suggestions for better approach are welcome.Thanks in advance.<br clear="all">
<br>-- <br>cheers<br>Sumatheja Dasararaju<br><br><br>