<br>&nbsp;&nbsp; Mahesh,<br><br>&nbsp;&nbsp; I&#39;m not a decision table specialist, but I see a couple choices I would try:<br><br>1. Simplest: since each line is a rule, just use 2 lines that will break down into 2 rules, each testing for a different value. Use cell merges for conditions that have the same value on multiple lines.<br>
<br>2. &quot;in&quot; operator: for cases like you showed, try using the &quot;in&quot; operator: field in ( $param ). So in the table cell, the user just use a list of values separated by coma, generating a pattern like:<br>
<br>applicant : Applicant( applicantType in ( &quot;authenticated&quot;, &quot;existing&quot; ) )<br><br>&nbsp;&nbsp; Not sure if there are other, better ways to do it.<br><br>&nbsp;&nbsp; []s<br>&nbsp;&nbsp; Edson<br><br><br><br><div><span class="gmail_quote">2008/2/19, Mahesh Gadgil &lt;<a href="mailto:maheshgadgil@hotmail.com">maheshgadgil@hotmail.com</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">




<div>


Hi ALL, <br>&nbsp;<br>This is my first project on drools. I am using JBOSS rules 4.0.4 and wouldlike your help. <br>I want to create a spreadsheet that will compile into drl file. I can notfigure out how I could create an OR condition in the spreadsheet. The drlcode I am looking to get finally will look like this. The documentation on JBOSS site does not provide any examples of OR condition in a spreadsheet. <br>
&nbsp;<br>WHEN <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; applicant : Applicant(applicantType == &quot;authenticated&quot; ||applicantType == &quot;existing&quot;)<br>............<br>THEN<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; applicant.setfundingType(internal&quot;)<br>&nbsp;<br>END. <br>
&nbsp;<br>Thanking you in advance<br>Mahesh<br><br><hr>Post free auto ads on Yello Classifieds now!  <a href="http://ss1.richmedia.in/recurl.asp?pid=255" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Try it now!</a></div>

<br>_______________________________________________<br>rules-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>&nbsp;&nbsp;Edson Tirelli<br>&nbsp;&nbsp;JBoss Drools Core Development<br>&nbsp;&nbsp;Office: +55 11 3529-6000<br>&nbsp;&nbsp;Mobile: +55 11 9287-5646<br>&nbsp;&nbsp;JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a>