[rules-users] Same rule across multiple ruleflow groups

2009-10-06 Thread Vijay K Pandey
Hi, I hope someone can advise me on this. I need a way to use the same rule across multiple ruleflow groups. Is this possible? We have Process A which uses following rules in a particular ruleflowgroup Rule A Rule B Rule C We have Process B which uses following rules in a particular ruleflowgr

[rules-users] Guvnor and collections.

2009-10-06 Thread Jane James
Hi, All, I have a similar questions to Jame's question. I have a list of Strings which is wrapped in a class called Names, and what I want to get is to find all the elements that's equal to "targetStringname". How do I create a rule using guided rule editor in Guvnor to create a

[rules-users] Guvnor test scenarios and collections.

2009-10-06 Thread Nord, James
Hi all, One of our facts has a collection which the rules add to. I'm trying to write a test scenrio to cover the simple case where the fact with an empty collection runs through and ends up containing a value "default". However I can't work out how to get Guvnor to do this. I am presented w

Re: [rules-users] Usage of working memory for sharing data between action and subsequent conditions

2009-10-06 Thread Greg Barton
Working memory is shared between rules. That is it's purpose. :) From: Sameer Pokarna To: rules-users@lists.jboss.org Sent: Tuesday, October 6, 2009 9:05:20 AM Subject: [rules-users] Usage of working memory for sharing data between action and subsequent con

[rules-users] Usage of working memory for sharing data between action and subsequent conditions

2009-10-06 Thread Sameer Pokarna
Hi, I am new to Drools and am facing an issue I do not is supported here. I have particular record types that the rules process. As I process them, I want to maintain a map (or persist) of IDs of all records processed. I believe this can be done in actions. In some conditions, I want to lo

Re: [rules-users] java.lang.NoSuchMethodError (org.eclipse.jdt.internal.compiler.CompilationResult.getProblems())

2009-10-06 Thread Vadivelkumar
Hi, Fortunately we have identified the solution for "java.lang.NoSuchMethodError (org.eclipse.jdt.internal.compiler.CompilationResult.getProblems())" a) If we are going to deploy the drools as part of our application service, that uses Jboss Server, We need to keep the Drools run time

Re: [rules-users] Drools Flow, threads and persistence in a clustered environment

2009-10-06 Thread Knapp, Barry
One more comment. I've been involved in a few business rules projects and have seen solution #2 almost every time. The only time I saw #1 was when there were dependencies between transactions, so they had to process sequentially. Barry -Original Message- From: rules-users-boun...@list

[rules-users] integrating rules with applications(urgent)

2009-10-06 Thread Nilima R
Hi All,I have create a pojo and uploaded that jar as model inĀ  guvnor.However i am not clear as how to communicate the with the guvnor through the java code.I am not clear with the "knowledge Agent " concept in the drools documentation.Could some one plz help or provide a link as to how to write co

Re: [rules-users] Drools Flow, threads and persistence in a clustered environment

2009-10-06 Thread Knapp, Barry
Well if this is up for a "dig" type vote, I'd have to up-vote #2. 1) You've got these three nodes assumedly all running on the same hardware, might as well utilize it all. If one node goes down it's not a major crisis or an experiment in "let's get the ksession running on the other node" to sta

[rules-users] DSLR Editor: Context Assist + Enter deletes the who line? Is is broken??

2009-10-06 Thread mehdi bennani
Hi guys, I have been using drools 4 for couple of months now and I am starting to get the hang of it. We recently decided to move to Dools 5 with Eclipse 3.4.2 (Ganymede). We unfortunately hit a major 'show stopper' (for us). In the DSLR editor: Context Assist + space + enter removes/replaces

[rules-users] Persistence of events

2009-10-06 Thread Maciej Prochniak
Hello, Is it possible to persist events (from drools fusion) with default jpa mechanism? When I try to do this 'just like that' I get exception like org.drools.common.DefaultFactHandle incompatible with org.drools.common.EventFactHandle It seems that session marshaller is not really aware of ce