Re: [rules-users] Insert and Retract from drools server in one call?

2012-01-17 Thread dunnlow
Sorry for my terminology; I'm a noob, but I think I understand your suggestion. By initial facts, I just mean the facts that I insert within my batchexecution command. In reality, I am adding a pojo to that batchexecutioncommand and then my rules check the pojo's attributes. I don't want that

Re: [rules-users] Insert and Retract from drools server in one call?

2012-01-17 Thread Wolfgang Laun
On 17/01/2012, dunnlow dunn...@yahoo.com wrote: Sorry for my terminology; I'm a noob, but I think I understand your suggestion. By initial facts, I just mean the facts that I insert within my batchexecution command. In reality, I am adding a pojo to that batchexecutioncommand and then my

Re: [rules-users] Insert and Retract from drools server in one call?

2012-01-14 Thread Wolfgang Laun
Perhaps this is the answer: Just add a rule that retracts the initial fact(s). Your description confuses me. At one point you use the plural, then the singular. What does initial mean in your parlance? Session-initial or client-request-initial? What is the lifetime of the stateful session? Longer

[rules-users] Insert and Retract from drools server in one call?

2012-01-13 Thread dunnlow
Hi. I've got a stateful session running in drools-server. A separate client is inserting facts using a batchexecutioncommand and reading/using the result returned from the service call. I need a stateful session because when I insert the facts from the client, some of the rules that trigger