Hi miguel,<br>Did you try creating a new Drools Flow process with Rule Tasks inside it to isolate each specific set of rules.<br>Then you can insert the facts into the working memory, start the process and the rules will be executed secuencially.<br>
You need to remember also that, if the rules are activated but the agenda group is without focus, the rules will never fire.<br> <br><br><div class="gmail_quote">2010/5/4 Miguel Machado <span dir="ltr">&lt;<a href="mailto:mls.machado@gmail.com">mls.machado@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 style="word-wrap: break-word;">Hi there,<div><br></div><div>I&#39;m having some trouble implementing the desired workflow of rule firing in an application using drools expert. I&#39;ve read the <a href="http://bit.ly/bKMRSq" target="_blank">thread</a> about the difference between ruleflow groups and agenda groups, but it is still unclear to me how to achieve what i need.</div>
<div><br></div><div>What i intend to have is the ability to fire a specific set of rules according to the object i&#39;m inserting into the ksession. </div><div><br></div><div>I do not want to use agenda-groups because it stacks all the agenda groups declared on the rule file (as far as i understand) and therefore it may fire activations i do not want to be fired. Instead, i want to isolate them completely. I tried using ruleflow groups for this, but i cannot find a way to activate a specific group programmatically, before calling fireAllRules(), the way i can with agenda-groups (setFocus() method).</div>
<div><br></div><div>That being said, i&#39;m asking for help in trying to use either one of ruleflow/agenda groups or even both in order to get things working the way i described.</div><div><br></div><div>Thanks in advance,</div>
<div>_ miguel</div><font color="#888888"><div><br></div></font></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> - <a href="http://salaboy.wordpress.com">http://salaboy.wordpress.com</a><br> - <a href="http://www.jbug.com.ar">http://www.jbug.com.ar</a><br> - Salatino &quot;Salaboy&quot; Mauricio -<br>