Re: [rules-users] Stateful Session giving major issues

2013-01-28 Thread starfish15
it was a silly mistake from my end, i had used the wrong inputs to the rules and hence the o/p was nvr coming up. If possible do DELETE this query itself. :( -- View this message in context: http://drools.46999.n3.nabble.com/Stateful-Session-giving-major-issues-tp4021832p4021858.html Sent

Re: [rules-users] Stateful Session giving major issues

2013-01-26 Thread Wolfgang Laun
On 26/01/2013, starfish15 pooja.gh...@accenture.com wrote: Hello, I am using Drools 5.2. I am not sure why not able to find the result here. I am supposed to get the value from the Action in this rule as shown below. But its never found. Kindly assist me with what is it that i have'nt

Re: [rules-users] Stateful Session giving major issues

2013-01-26 Thread starfish15
Hi laune, I am sorry, i didnt understand the ISSUE much. What do you mean by any PROOF??? I would appreciate if you could you be more specific Regards, Starfish -- View this message in context:

Re: [rules-users] Stateful Session giving major issues

2013-01-26 Thread Michael Anstis
You show the rules. You show extraction of Facts from a HashMap. You do not show the Fact's values. Why should we therefore believe the rule should activate? On 26 January 2013 11:46, starfish15 pooja.gh...@accenture.com wrote: Hi laune, I am sorry, i didnt understand the ISSUE much. What

Re: [rules-users] Stateful Session giving major issues

2013-01-26 Thread Wolfgang Laun
SSI ssi = (SSI)hm.get(pa_cycle_ssi); assert ES.equals(ssi.getCD()) Y.equals( ssi.getEOC_IN()) N.equals( ssi.getIN() ); CMPG_REF cmpRef = (CMPG_REF)hm.get(pa_cmpg_ref); assert ... etc. -W On 26/01/2013, starfish15 pooja.gh...@accenture.com wrote: Hi laune, I am sorry,

[rules-users] Stateful Session giving major issues

2013-01-25 Thread starfish15
Hello, I am using Drools 5.2. I am not sure why not able to find the result here. I am supposed to get the value from the Action in this rule as shown below. But its never found. Kindly assist me with what is it that i have'nt included. First the rules //generated from Decision Table import

[rules-users] Stateful session marshaling on drools server

2013-01-23 Thread rtanikella
Hi, I am using Drools Server 5.4.0.Final as a web application deployed on JBoss AS 7.1.1.Final. I have a stateful session configured on the server, and I am able to remotely execute against it inserting facts, retracting facts, firing rules, etc. How do I marshal/unmarshal a stateful session that

[rules-users] Stateful session marshaling on drools server

2013-01-22 Thread Ramgopal Tanikella
Hi, I am using Drools Server 5.4.0.Final as a web application deployed on JBoss AS 7.1.1.Final. I have a stateful session configured on the server, and I am able to remotely execute against it inserting facts, retracting facts, firing rules, etc. How do I marshal/unmarshal a stateful session

Re: [rules-users] Stateful session and non-existence of Facts

2009-11-30 Thread Leonardo Gomes
Hi Wolfgang, Thanks for the reply. Leo. On Fri, Nov 27, 2009 at 7:38 AM, Wolfgang Laun wolfgang.l...@gmail.comwrote: 2009/11/26 Leonardo Gomes leonardo.f.go...@gmail.com On Tue, Nov 24, 2009 at 10:42 PM, Leonardo Gomes leonardo.f.go...@gmail.com wrote: H Now, let's say FactA(1)

Re: [rules-users] Stateful session and non-existence of Facts

2009-11-26 Thread Leonardo Gomes
The email is big just because I tried to big as clear as possible, but it's a quick reading, I promise! No one? Cheers, Leo. On Tue, Nov 24, 2009 at 10:42 PM, Leonardo Gomes leonardo.f.go...@gmail.com wrote: Hello, Regarding the session recreation, you're absolutely right, thanks!

Re: [rules-users] Stateful session and non-existence of Facts

2009-11-26 Thread Wolfgang Laun
2009/11/26 Leonardo Gomes leonardo.f.go...@gmail.com On Tue, Nov 24, 2009 at 10:42 PM, Leonardo Gomes leonardo.f.go...@gmail.com wrote: H Now, let's say FactA(1) indicates a fact of type FactA and id = 1. - Then, in the beginning, I insert FactA(1) and FactA(2) in my working memory and

Re: [rules-users] Stateful session and non-existence of Facts

2009-11-24 Thread Leonardo Gomes
Hello, Regarding the session recreation, you're absolutely right, thanks! Anyway, I still have a problem and I believe it's more a design thing. Let me try to clarify it. I have different types of facts, let's say: * Types: FactA, FactB, FactC; * A stateful session with rules operating on

[rules-users] Stateful session and non-existence of Facts

2009-11-17 Thread Leonardo Gomes
Hi Guys, I have the following situation while running a stateful session with Drools 4.0.7: - I want to test that a fact with a given state doesn't exist; - It works fine - At a certain point I have to retract all facts and reinsert them at the stateful session - some of them actually changed

Re: [rules-users] Stateful session and non-existence of Facts

2009-11-17 Thread Edson Tirelli
Leonardo, First, I believer there is a misconception in your reasoning: creating sessions is supposed to be much much cheaper than retracting all facts. Creating a rulebase is heavier, because it requires compilation, but creating a session is supposed to be very light by design. So, first

Re: [rules-users] Stateful Session

2007-06-18 Thread Mark Proctor
dynamic rules - will you be adding new rules to your rulebase? If so that rulebase needs to know know which working memories to update. Mark Shai Bentin wrote: Can anyone explain to me why I would want to hold a reference to my working memory in the ruleBase? The way we use the rules in our