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 : mess
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
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
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
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
rules-users@
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 a
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
>
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
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:
h
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 wit
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 http://downloads.jboss.com/drools/do
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 foll
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 equal
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
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
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
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
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
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 Employe
19 matches
Mail list logo