<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Michael,<div><br></div><div>Thanks. Yes, I am using 5.2.0.CR1.I do not have a choice to move to 5.3 at this point.</div><div><br></div><div>as an alternate, I am using the following work around.</div><div><br></div><div>to be able to do 'is null' &nbsp;or 'is not null' &nbsp;for checking null condition on a field,</div><div><br></div><div>I select 'equal to' &nbsp;as the operator and then, I click on the function button &nbsp;instead &nbsp;of literal value .</div><div><br></div><div>In the text box that comes up, I enter null &nbsp;</div><div><br></div><div>Doing this validates the condition successfully and I am able to run the test scenario successfully .</div><div>similarly, I select 'not equal to' operator for checking is not null condition and then in the function text box, I enter
 null.</div><div><br></div><div>&nbsp;</div><div><br></div><div><br></div><div><br><br>--- On <b>Mon, 9/5/11, Michael Anstis <i>&lt;michael.anstis@gmail.com&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Michael Anstis &lt;michael.anstis@gmail.com&gt;<br>Subject: Re: [rules-users] is null or is not Null failing for a String field check in Guvnor drl<br>To: "Rules Users List" &lt;rules-users@lists.jboss.org&gt;<br>Date: Monday, September 5, 2011, 12:13 PM<br><br><div id="yiv480384787">It was a bug but was fixed a while ago.<br><br>I can't recall if it made 5.2 - but it definately doesn't exist in 5.3.0.CR1 (or master branch as of today - I just checked).<br><br><div class="yiv480384787gmail_quote">2011/9/5 puja nandamuri <span dir="ltr">&lt;<a rel="nofollow" ymailto="mailto:med_9501@yahoo.com" target="_blank"
 href="/mc/compose?to=med_9501@yahoo.com">med_9501@yahoo.com</a>&gt;</span><br>
<blockquote class="yiv480384787gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font:inherit;" valign="top">Hi ,<br><br>when using a business rule guided editor ,<br>
<br>for a fact, when I select a string type field from the drl guided editor in Guvnor&nbsp; and select <br>&nbsp;is null from the dropdown list of operators,<br><br>I get the following validation error when I do a validate on the rule.<br>
<br>no viable alternative at input 'null' in rule "Asset_Description_NullCheckRule"<br><br>when I do a View Source, it shows the source as <br><br>when<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Asset( description == null null ) <br>
<br>Is this a bug ? <br><br>if I select the free form drl option and create the when condition as<br><br> Asset( description == null ) , it validates fine.<br><br>Thanks,<br><br>Ram<br></td></tr></tbody></table><br>_______________________________________________<br>

rules-users mailing list<br>
<a rel="nofollow" ymailto="mailto:rules-users@lists.jboss.org" target="_blank" href="/mc/compose?to=rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a rel="nofollow" target="_blank" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br>
</div><br>-----Inline Attachment Follows-----<br><br><div class="plainMail">_______________________________________________<br>rules-users mailing list<br><a ymailto="mailto:rules-users@lists.jboss.org" href="/mc/compose?to=rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br></div></blockquote></div></td></tr></table>