are you doing <div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">kbuilder.add(ResourceFactory.newFileResource(file), typ</span></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br>
</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">for each process file?</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br>
</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">you mention that you have the IDs -&gt; (<span class="Apple-style-span" style="font-size: 13px; ">5, 31 and 33).</span></span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Those are generated when you create a new process instance.</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">but when you start your process flow with:</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">ksession.startProcess(&lt;ID here&gt;).</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Can you share with us the IDs for the three processes?</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">You can look inside the xml of the process definition (inside the process tag to answer that question).</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Greetings.<br></span></font><br><div class="gmail_quote">2010/10/10 <a href="mailto:esteban.aliverti@gmail.com">esteban.aliverti@gmail.com</a> <span dir="ltr">&lt;<a href="mailto:esteban.aliverti@gmail.com">esteban.aliverti@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">It would be possible to have a minimum maven test project so we can take a look?<div><div></div><div class="h5"><div><br>
</div><div>Best,<br clear="all"><br>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br><br>Esteban Aliverti<br>- Developer @ <a href="http://www.plugtree.com" target="_blank">http://www.plugtree.com </a><br>

- Blog @ <a href="http://ilesteban.wordpress.com" target="_blank">http://ilesteban.wordpress.com</a><br>
<br><br><div class="gmail_quote">2010/10/10 Yaniv Itzhaki <span dir="ltr">&lt;<a href="mailto:iyaniv@gmail.com" target="_blank">iyaniv@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div dir="ltr">What do you mean by &quot;add all your process definition into the kbase&quot;? I am doing the following:<div><div>kbuilder.add(ResourceFactory.newFileResource(file), type);</div><div><br></div><div><span style="white-space:pre-wrap">                </span>kb = KnowledgeBaseFactory.newKnowledgeBase();</div>



<div><span style="white-space:pre-wrap">                </span>kb.addKnowledgePackages(kbuilder.getKnowledgePackages());</div><div><br></div><br><div class="gmail_quote">2010/10/10 Mauricio Salatino <span dir="ltr">&lt;<a href="mailto:salaboy@gmail.com" target="_blank">salaboy@gmail.com</a>&gt;</span><div>


<div></div><div><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi man. are you sure that you add all your process definition into the kbase? <div>Sounds like all your processes have the same process ID. and you are executing the last one only.</div>



<div>Greetings.<br><br><div class="gmail_quote">
2010/10/10 <a href="mailto:esteban.aliverti@gmail.com" target="_blank">esteban.aliverti@gmail.com</a> <span dir="ltr">&lt;<a href="mailto:esteban.aliverti@gmail.com" target="_blank">esteban.aliverti@gmail.com</a>&gt;</span><div>



<div></div><div><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
It sounds like a bug to me. Which version of drools are you using? And which are the ids of the action nodes?<div><br></div><div>Best,<br clear="all"><br>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br><br>Esteban Aliverti<br>






- Developer @ <a href="http://www.plugtree.com" target="_blank">http://www.plugtree.com </a><br>- Blog @ <a href="http://ilesteban.wordpress.com" target="_blank">http://ilesteban.wordpress.com</a><br>
<br><br><div class="gmail_quote">2010/10/10 Yaniv Itzhaki <span dir="ltr">&lt;<a href="mailto:iyaniv@gmail.com" target="_blank">iyaniv@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div><div></div><div>

<div dir="ltr">Hi,<div><br></div><div>I am experiencing a strange bug (or feature???). I added a script task (name=&quot;A&quot;) in my main process which just running System.out.println(&quot;Script A&quot;);</div><div>





I also added another script task (name=&quot;B&quot;) in my sub-process which is running System.out.println(&quot;Script B&quot;);</div>

<div>But, when I am running the process I get the following  output:</div><div>Script B</div><div>Script B</div><div><br></div><div>I continued to test this issue and added another script task (name=&quot;C&quot;) with System.out.println(&quot;Script C&quot;); in another sub-process and I get:</div>







<div>Script C</div><div>Script C</div><div>Script C</div><div><br></div><div>If I add the line for every script System.out.println(&quot;Script X &quot;+context.getNodeInstance().getNodeName()) I get the following:</div>






<div>
</div><div><div>Script C A</div><div>Script C B</div><div>Script C C</div></div><div><br></div><div>Is it normal? how come I have this behavior???</div><div><br></div><font color="#888888"><div>Yaniv</div></font></div>
<br></div></div>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">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>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">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>
<br></blockquote></div></div></div><br><br clear="all"><br>-- <br> - CTO @ <a href="http://www.plugtree.com" target="_blank">http://www.plugtree.com</a>  <br> - MyJourney @ <a href="http://salaboy.wordpress.com" target="_blank">http://salaboy.wordpress.com</a><br>




 - Co-Founder @ <a href="http://www.jbug.com.ar" target="_blank">http://www.jbug.com.ar</a><br> <br> - Salatino &quot;Salaboy&quot; Mauricio -<br>
</div>
<br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">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>
<br></blockquote></div></div></div><br></div></div>
<br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">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>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto: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>
<br></blockquote></div><br><br clear="all"><br>-- <br> - CTO @ <a href="http://www.plugtree.com">http://www.plugtree.com</a>  <br> - MyJourney @ <a href="http://salaboy.wordpress.com">http://salaboy.wordpress.com</a><br>
 - Co-Founder @ <a href="http://www.jbug.com.ar">http://www.jbug.com.ar</a><br> <br> - Salatino &quot;Salaboy&quot; Mauricio -<br>
</div>