<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:verdana, helvetica, sans-serif;font-size:10pt"><DIV></DIV>
<DIV>Hi ,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I am trying to create rule&nbsp; on a fact , which contains&nbsp;arraylist of collection and&nbsp;the&nbsp;object in the collection internally contains&nbsp;an arraylist of another collection of objects.</DIV>
<DIV>&nbsp;</DIV>
<DIV>This looks like&nbsp; object A contains collection of objects B and B contains collection object C</DIV>
<DIV>&nbsp;</DIV>
<DIV>A&nbsp;-&gt;&nbsp; blist ( Arraylist&lt;B&gt; )</DIV>
<DIV>&nbsp;</DIV>
<DIV>B -&gt; clist (ArrayList&lt;C&gt; )</DIV>
<DIV>&nbsp;</DIV>
<DIV>C-&gt; dlist( ArrayList&lt;D&gt;)</DIV>
<DIV>&nbsp;</DIV>
<DIV>D-&gt; type ( string)</DIV>
<DIV><BR>I am inseting A as fact to the working memory.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I am in confusion state like how to write the rule&nbsp;to place&nbsp;conditions &nbsp;on collection C. </DIV>
<DIV>&nbsp;</DIV>
<DIV>Can I use from in the form of nested from in rule statment.</DIV>
<DIV>&nbsp;</DIV>Thanks<BR>Prasad Raju Sagi<BR>Mobile: 847-644-4103
<DIV><BR></DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: verdana, helvetica, sans-serif"><BR>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><FONT face=Tahoma size=2>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Aziz Boxwala &lt;boxwala@yahoo.com&gt;<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> rules-users@lists.jboss.org<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Thursday, June 11, 2009 1:58:28 PM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> [rules-users] process order example not working fully<BR></FONT><BR>
<DIV style="FONT-SIZE: 12pt; COLOR: #000000; FONT-FAMILY: times new roman, new york, times, serif">
<DIV><SPAN class=cgSelectable>I am trying to execute a ruleflow and use rules to assign tasks within the ruleflow in Drools 5.0.1. I have a drl file included in my knowledge base that tries to assign a task to a user when a new human task is created. This is based on the example in org.drools.example.process.order. I can't get my code to work. I don't the rules in the example are working either (dslr for the task assignment or the drl for dynamic logging). After some attempts, I found that this condition <BR></SPAN><SPAN class=cgSelectable>&nbsp;&nbsp;&nbsp; WorkItemNodeInstance()<BR>does not evaluate to true ever.<BR><BR>Do I have to do anything special to make the WorkItemNodeInstance appear in working memory?<BR><BR>Thanks for any help.<BR><BR>--Aziz<BR><BR><BR><BR></SPAN></DIV></DIV><BR></DIV></DIV></div><br>

      </body></html>