Conditions to both the rules are trivial.<div><br></div><div>rule 1 checks whether temperature is greater than 40 then fire the process with process id: com.sample.ruleflow</div><div>rule 2 checks whether pressure is greater than 20 then fire the process with process id:</div>
<div>com.sample.Another.</div><div><br></div><div>I have also printed the ruleflows stored in the builder. They are coming as correct. But when I call com.sample.ruleflow after passing a temperature event then ruleflow gets fired printing inside ruleflow as its action event.</div>
<div>Again when I pressure event comes with pressure &gt; 20 then again com.sample.ruleflow gets fired , again printing inside ruleflow whereas it should have printed inside Another and com.sample.Another should have got fired.</div>
<div><br></div><div>Also I am storing the rules in the same package.</div><div><br></div><div>I cannot understand why is this happening :(</div><div><br></div><div>Also there is another problem. I have created a sample workitem, put it inside a src folder. But it is not showing in the pallete. Also my file name is different than the default one.</div>
<div><br></div><div>Need help!</div><div><br></div><div>com.sample,ruleflow--&gt; start-&gt;Action(print inside ruleflow)-&gt;End</div><div>com.sample.Another-&gt; start-&gt;Action(inside Another)-&gt;End</div><div><br></div>
<div>Thanks</div><div>Santosh Mukherjee<br><br><div class="gmail_quote">2010/7/22 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;">
what are the condition from both rules?<br>Can you share with us your processes definitions? did you check the process ids?<br>Greetings<br><br><div class="gmail_quote">2010/7/22 santosh mukherjee <span dir="ltr">&lt;<a href="mailto:sam.sensation@gmail.com" target="_blank">sam.sensation@gmail.com</a>&gt;</span><br>

<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"><div><div></div><div class="h5">Hi,<div><br></div><div>My rule file is like this:</div><div><br></div>
<div>rule1:</div><div>
when something</div><div>then </div><div>start process(p1);</div><div><br></div><div>rule2:</div><div>when something</div><div>then</div>
<div>startprocess(p2);</div><div><br></div><div>But in both the cases only p1 gets fired which was the rule flow that I last added to the builder.</div><div><br></div><div>Can any body suggest me how to overcome this problem.??</div>


<div><br></div><div><br></div><div>Thanks</div><div>Santosh Mukherjee</div>
<br></div></div><div class="im">_______________________________________________<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></div></blockquote></div><font color="#888888"><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>
</font><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>