[rules-users] Action Object and Condition Object in XLS DTABLE

2013-05-22 Thread Ramon Buckland
Hi. I am working on Drools 5.5.0.Final and have a question regarding XLS and a Decision Table structure, I have a ConditionObject and an ActionObject and wanted to know or see an example for XLS that produces a does exist for the ActionObject in the when. I can simply write the rule in a

Re: [rules-users] Action Object and Condition Object in XLS DTABLE

2013-05-22 Thread Michael Anstis
Add an additional CONDITION for ActionObject. You'll need to probably add a constraint for this != null and put an X in the rows; e.g. CONDITION $a : ActionObject this != null X X On 22 May 2013 09:55, Ramon Buckland ra...@thebuckland.com wrote: Hi. I am working on Drools 5.5.0.Final and

Re: [rules-users] Action Object and Condition Object in XLS DTABLE

2013-05-22 Thread Ramon Buckland
Hi, Thanks for the response. That doesn't seem to be right - this is what is produced from the Compiler. // rule values at A9, header at A3 rule Test rule_9 when $c : ConditionObject(somefield) $a : ActionObject(this != null == X)

[rules-users] Action

2011-12-21 Thread Alan Ma
Hi Drools Rulers, I am new to drools and I've configured a rule with the following: rule my rules ruleflow-group nike no-loop true when $nikeShoe : NikeShoe() from shoeManager.getNikeShoe() then

Re: [rules-users] Action

2011-12-21 Thread Mauricio Salatino
Hi, if you use the from expression it will get evaluated each time that anything in the session change (at least in your example). So you can insert all the NikeShoes from the service you are calling into the working memory and those rules will be only evaluated when a NikeShoe is modified or

Re: [rules-users] Action

2011-12-21 Thread lhorton
Is that true (i.e. all rules evaluated even though they won't be fired) also of agenda groups? -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-Action-tp3604296p3604571.html Sent from the Drools: User forum mailing list archive at Nabble.com

Re: [rules-users] Action

2011-12-21 Thread Mauricio Salatino
this message in context: http://drools.46999.n3.nabble.com/rules-users-Action-tp3604296p3604571.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman

Re: [rules-users] Action

2011-12-21 Thread Michael Anstis
Just to add to what salaboy wrote, *all* LHS are evaluated as Facts are inserted. If I am not mistaken, ruleflow-group (like agenda-group) only controls what activations (RHS) on the agenda caused by the evaluation of the LHS are executed. On 21 December 2011 15:24, Mauricio Salatino

Re: [rules-users] Action

2011-12-21 Thread Mauricio Salatino
To add to Michael, Insert/Update/Retract 2011/12/21 Michael Anstis michael.ans...@gmail.com: Just to add to what salaboy wrote, *all* LHS are evaluated as Facts are inserted. If I am not mistaken, ruleflow-group (like agenda-group) only controls what activations (RHS) on the agenda caused

Re: [rules-users] Action

2011-12-21 Thread lhorton
-group-1 and then agenda-group-2, we have knowledgeSession1 and knowledgeSession2, insert only the facts relevant to each session, and fire all rules on each session. -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-Action-tp3604296p3604632.html Sent from the Drools

Re: [rules-users] Action

2011-12-21 Thread Mauricio Salatino
.46999.n3.nabble.com/rules-users-Action-tp3604296p3604632.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users --  - CTO

Re: [rules-users] Action

2011-12-21 Thread Vincent LEGENDRE
: Mercredi 21 Décembre 2011 18:28:52 Objet: Re: [rules-users] Action It depends on your problem, but yes.. it could be more efficient, except for the fact that you need to move all the objects from one session to the other. Another alternative is to use some kind of control fact that only activate

[rules-users] Action firing twice

2008-12-01 Thread Vithal Kuchibhotla
Hello All,I have a list of Items that I am inserting into working memory. Here is the rule that is failing:rule Cannot select X if both Y and Z are not selectedwhennbsp;nbsp;nbsp; Item(code == X)nbsp;nbsp;nbsp; (or (not Item(code == Y))nbsp;nbsp;nbsp; nbsp;nbsp;nbsp; (not Item(code ==

[rules-users] Action and Milestone buttons

2007-09-10 Thread vdelbart
thanks, i have the same question with Action and Milestone buttons. Are they work ? regards, vdelbart -- View this message in context: http://www.nabble.com/Router-Layout-%3A-what%27s-thattf4414120.html#a12592479 Sent from the drools - user mailing list archive at Nabble.com.