[rules-users] Fire Rules in DT based on a rule in DT

2007-11-14 Thread Arjun Dhar
Hi, I have the following scenario. SCENARIO (simplified for discussion from actual blown up scenario) - 1. A decision table (DT) with rules for all types of employees - Call it Common DT 2. The DT mentioned in Point 1 has a condition that fetched data depending on Type Of Employee

[rules-users] create .pkg file with or without BRMS

2007-11-14 Thread Arnaud Bouzinac
Hi, I'm using BRMS to generate a .pkg for an application i need to generate the same file without BRMS: i'm trying to use a drools-ant task, but, pkg file generated with drools-ant task is not the same !!! i don't found a specific documentation to do that ? Somebody can help me please ? thanks

Re: [rules-users] Fire Rules in DT based on a rule in DT

2007-11-14 Thread Steven Williams
I added agenda-group to decision tables in September 2006. cheers Steve On Nov 14, 2007 6:50 PM, Arjun Dhar [EMAIL PROTECTED] wrote: Hi, I have the following scenario. SCENARIO (simplified for discussion from actual blown up scenario) - 1. A decision table (DT) with rules for

RE: [rules-users] RE: how to find duplicate inlineeval

2007-11-14 Thread Sikkandar Nawabjan
Edson, As you said i used inline eval. But am getting erroe message like this can't be used in static context.am using statelesssession to assert my objects. i also put eval(this!=obj1) as follows. $obj1:Object1($id:id,$name:name) $obj2:Object1(id==$id,$name:name==$name, eval( this!=$obj1

Re: [rules-users] RE: how to find duplicate inlineeval

2007-11-14 Thread Edson Tirelli
Sorry, you lost me. What is the error message? Can you send us a self contained test showing the problem you are having? []s Edson 2007/11/14, Sikkandar Nawabjan [EMAIL PROTECTED]: Edson, As you said i used inline eval. But am getting erroe message like this can't be used in

[rules-users] RE: Duplicate check using dialect

2007-11-14 Thread Sikkandar Nawabjan
i just use this sort of rule rule Hello World dialect mvel when m : Message( $message1 : message ) mdup : Message($message2:message==$message1,eval(this!=m) ) then System.out.println(Rule Fired+m +::+mdup ); System.out.println(Rule Fired+$message1 +::+$message2 ); end if i put

Re: [rules-users] RE: Duplicate check using dialect

2007-11-14 Thread Edson Tirelli
Sorry, my mistake. this is a reserved word in java (duh!!), and so you need to use your own binding: m : Message( $message1 : message ) mdup : Message($message2:message==$message1,eval(mdup != m) ) You can't use mvel dialect, because in MVEL the operators == and != will call the equals()

[rules-users] howto BRMS - already stuck at fact model loading

2007-11-14 Thread Darren Hartford
Hey all, new to BRMS as trying to learn how this works. My usecase is to take an existing, working EJB3 application and migrate some of the complex rules over to be managed by BRMS. However, initial attempts over the course of a couple of days have yielded zero results. When trying to

[rules-users] Is InternalRuleBase safe to use?

2007-11-14 Thread Jared Davis
Hi, re:Drools 4.0.3 I want/need to use ConsequenceExceptionHandler for exception handling. I'd like to be able to get the ConsequenceExceptionHandler from a StatefulSession. The only way I see to get the handler relies on InternalRuleBase. The JavaDoc at

Re: [rules-users] create .pkg file with or without BRMS

2007-11-14 Thread LNguyen
I think the DroolsCompilerAntTask generates a serialized RuleBase, not a Package. Linh Arnaud Bouzinac wrote: Hi, I'm using BRMS to generate a .pkg for an application i need to generate the same file without BRMS: i'm trying to use a drools-ant task, but, pkg file generated with

Re: [rules-users] XML Import Sample

2007-11-14 Thread Fernando Meyer
http://anonsvn.labs.jboss.com/labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/xml/ sorry forgot the link ;) On 11/14/07, Fernando Meyer [EMAIL PROTECTED] wrote: Hi, All that you need is understand the drools' xml unit tests. Regards . On 11/14/07, MHersey [EMAIL

Re: [rules-users] XML Import Sample

2007-11-14 Thread Fernando Meyer
Hi, All that you need is understand the drools' xml unit tests. Regards . On 11/14/07, MHersey [EMAIL PROTECTED] wrote: I'm new to Drools and am looking into using the XmlPackageReader to import XML rules. Can someone point me to some sample code? I've found a few snippets from

[rules-users] XML Import Sample

2007-11-14 Thread MHersey
I'm new to Drools and am looking into using the XmlPackageReader to import XML rules. Can someone point me to some sample code? I've found a few snippets from different projects but the information is disconnected. Thanks for any pointers to a noob. Michael -- View this message in context:

[rules-users] Another rule vendor being acquired

2007-11-14 Thread Paul Haley
I hope it is interesting to the community to consider the second business rules vendor acquisition within the last 30 days. Haley Systems (www.haley.com), the company that I founded many years ago (hopefully, some of you have heard of it!), is in the process of being acquired by Ruleburst. I

[rules-users] create XML rules with XML parser

2007-11-14 Thread Raffaele Viola
Hi all, I want to create automatically the xml containing the rules using a parser like castor, which .xsd I have to use to generate the appropriate java class? Can someone give me some indications? Thanks Raffo ___ rules-users mailing list

Re: [rules-users] create XML rules with XML parser

2007-11-14 Thread Fernando Meyer
Hi, If you mean the appropriate rule then use the following xsd http://anonsvn.labs.jboss.com/labs/jbossrules/trunk/drools-compiler/src/main/resources/META-INF/drools-4.0.xsd Regards On 11/14/07, Raffaele Viola [EMAIL PROTECTED] wrote: Hi all, I want to create automatically the xml

[rules-users] mvel regex not working???

2007-11-14 Thread Carlsen, Len
Hi, I have an email validation regex where the mvel matches doesn't seem to work. I have created 2 rules where test1 uses the Java String matches and test2 uses the mvel matches. Test1 works but test2 doesn't. I am using Drools 4.0.3 and JDK 1.6.0_02. rule Test1 when // This

[rules-users] Re: howto BRMS - already stuck at fact model

2007-11-14 Thread Chong Minsk Goh
Hi Darren, Glad I am not alone : ) I am also in the process of using BRMS for our application. Would also like to seek advice on how to better use the BRMS. Especially on how the parsing of user inputs to DRL is executed, specifically which package/api in drools is used. Cheers! Chong Minsk

RE: [rules-users] RE: Duplicate check using dialect(firing multiple times)

2007-11-14 Thread Sikkandar Nawabjan
Edson, With this code it is firing. But it is firing 2 times(u also got same 2 time output). why is that? how we can avoid? Thanks and Regss, Basha Sorry, my mistake. this is a reserved word in java (duh!!), and so you need to use your own binding: m : Message( $message1 :