<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 class="Apple-tab-span" style="white-space:pre">                </span>kb = KnowledgeBaseFactory.newKnowledgeBase();</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </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">salaboy@gmail.com</a>&gt;</span><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 class="h5"><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">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>