Re: [rules-users] Sequential mode and partial propagations

2011-04-19 Thread Mark Proctor
On 19/04/2011 18:58, Vincent LEGENDRE wrote: Hi All First : sorry for the misplaced reply to another thread This post is to continue an interresting (to me) discussion started there : https://issues.jboss.org/browse/JBRULES-46 This was about my remark about a backward-chaining mode that could

[rules-users] Sequential mode and partial propagations

2011-04-19 Thread Vincent LEGENDRE
Hi All First : sorry for the misplaced reply to another thread This post is to continue an interresting (to me) discussion started there : https://issues.jboss.org/browse/JBRULES-46 This was about my remark about a backward-chaining mode that could be used to allow sequential mode to handle

[rules-users] Sequential mode and partial propagations

2011-04-19 Thread Vincent LEGENDRE
Hi All This post is to continue an interresting (to me) discussion started there : https://issues.jboss.org/browse/JBRULES-46 This was about my remark about a backward-chaining mode that could be used to allow sequential mode to handle some kind of RETE updates (first rules could then trigge

Re: [rules-users] Sequential mode help!

2009-12-05 Thread Mark Proctor
Torfox wrote: Mark Proctor wrote: It seems I have misunderstood the documentation- the sequential mode (https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/docs/drools-expert/html_single/index.html#d0e1809) 3.3.7.1: "Order the Rules by salience and pos

Re: [rules-users] Sequential mode help!

2009-12-05 Thread Torfox
Mark Proctor wrote: > > >> It seems I have misunderstood the documentation- the sequential mode >> (https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/docs/drools-expert/html_single/index.html#d0e1809) >> 3.3.7.1: >> >> "Order the Rules by salience and positi

Re: [rules-users] Sequential mode help!

2009-12-05 Thread Mark Proctor
Torfox wrote: Ross H wrote: You might need to think about how the rules engine does it job. The first part is setting up the network to match your conditions, the second is then executing the consequences of those matched facts. What your seeing here is the first part finding nulls. So you

Re: [rules-users] Sequential mode help!

2009-12-05 Thread Torfox
Ross H wrote: > > You might need to think about how the rules engine does it job. The first > part is setting up the network to match your conditions, the second is > then > executing the consequences of those matched facts. > > What your seeing here is the first part finding nulls. So you nee

Re: [rules-users] Sequential mode help!

2009-12-05 Thread Ross H
You might need to think about how the rules engine does it job. The first part is setting up the network to match your conditions, the second is then executing the consequences of those matched facts. What your seeing here is the first part finding nulls. So you need to make sure that all your fac

Re: [rules-users] Sequential mode help!

2009-12-05 Thread Torfox
The Params object is a fact of declared type. A basic iniotiation is performed in rule1, but the rule1 is not fired in the first place. adding another condition that checks policy.params != null in condition of rule 2 is not solving my problem that refers to rules ordering algorithm. I have hund

Re: [rules-users] Sequential mode help!

2009-12-04 Thread Wolfgang Laun
I don't see the initialisation of fields modelGroup and region in the Params fact. They aren't int, but Integer, and so not zero by default. -W On Fri, Dec 4, 2009 at 10:25 PM, Torfox wrote: > > Hi, > > I couldn't find an solution to a problem I'm struggling with for many hours. > > Generally I'm

Re: [rules-users] Sequential mode help!

2009-12-04 Thread Ross H
Try adding another condition that checks policy.params != null in your customer condition of rule 2 On Sat, Dec 5, 2009 at 7:25 AM, Torfox wrote: > > Hi, > > I couldn't find an solution to a problem I'm struggling with for many > hours. > > Generally I'm trying to implement sequential mode rules

[rules-users] Sequential mode help!

2009-12-04 Thread Torfox
Hi, I couldn't find an solution to a problem I'm struggling with for many hours. Generally I'm trying to implement sequential mode rules. I have applied salience parameters to order the rules, but the engine is not executing these rules in that order. I use drools 5.0.1 in sequential mode, s

[rules-users] Sequential Mode with Sequential or Dynamic Agenda

2008-08-31 Thread Shyam, Pallav (MSCIBARRA)
Hi All, I am trying to figure out when to use Sequential Mode. Also, what does SequentailAgenda.SEQUENTIAL and SequentialAgenda.DYNAMIC means. rule "asset > 1000" when s : Security( status == "NOT VALIDATED", country == "USA", asset > 1000) then s.setStatus("VALIDATED");

[rules-users] Sequential mode supports rule flow ??

2008-08-19 Thread raj_drools
Hi , i'm using Drools4.0.7 . For improving performance of my rule engine ,i want to go for Sequential mode . i want to know whether sequential mode supports Rule Flow . if yes how can i do that ? thank you -- View this message in context: http://www.nabble.com/Sequential-mode-supports

Re: [rules-users] sequential mode

2007-09-25 Thread Mark Proctor
Thats a mistake, I'll correct it now. If you try it sequential mode blows up the engine in statefulsession. Mark ekke wrote: in the docs I read: 2.5.6 ... StatelessSession supports sequential mode... 2.5.10 ... Sequential mode can only be used with a StatefulSession so whats true ? thx for in

[rules-users] sequential mode

2007-09-25 Thread ekke
in the docs I read: 2.5.6 ... StatelessSession supports sequential mode... 2.5.10 ... Sequential mode can only be used with a StatefulSession so whats true ? thx for info ekke -- View this message in context: http://www.nabble.com/sequential-mode-tf4513876.html#a12874505 Sent from the drools