Hi,
following example:
Item Class:
public class MyItem {
public MyItem() {}
public String getMessage()
{
return Hello World!;
}
}
DSL:
[condition][]is of type MyItem=MyItem()
[consequence][]write {value} to stdout=System.out.println({value});
DSRL File:
Hi everyone,
I have a little problem with this plugins Drools in Eclipse.
In my Drools Project I have some xls but I haven't Decision Table.
I have this error associate with all xls files : An error occured opening
the workbook.
How to ignore this error and don't see it any more ?
I try to
Adrian Cowham adrian.cowham at gmail.com writes:
I'm running into an issue where the || operator embedded in a collect CE isn't
working as expected. The rule I have is rule Grant Access
when
$request : AccessRequest($name : username, $ID : sessionID, $loc :
accessLocation, $day :
Hi,
Perhaps I'm reading too much into your example but I have a number of
questions:-
*
I assume the rule is defined by the user?
*
Do you only have one instance of RaCdrMoc?
*
Why do you have a pattern for CDRError when this object is created
Hi,
I have 2 Objects and its corresponding drl/dsls to validate the rule
ObjectA - A.drl,A.dsl
ObjectB - B.drl,B.dsl
when i insert ObjectA i want the rules in A.drl to be fired.
when i insert ObjectB along with ObjectA i want to fire rules only from B.drl
There are some rule in B.drl
Try changing DSL
from
[consequence][]write {value} to stdout=System.out.println({value});
To
[consequence][]write {value} to stdout=System.out.println( {value} );
And see if it works.
--Mohan
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Markus
you'll have to setup rules that detect the state of the working memory
that then uses semaphores to control which rules can fire.
Mark
Sikkandar Nawabjan wrote:
Hi,
I have 2 Objects and its corresponding drl/dsls to validate the rule
ObjectA - A.drl,A.dsl
ObjectB - B.drl,B.dsl
when i
I'm running into an issue where the || operator embedded in a collect CE
isn't working as expected. The rule I have is
rule Grant Access
when
$request : AccessRequest($name : username, $ID : sessionID, $loc :
accessLocation, $day : dayOfAccess)
$user : NetworkUser(username ==
Fernando,
Did you have an opportunity to look into the issue?
Thanks,
--Aziz
- Original Message
From: Fernando Meyer [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; Rules Users List rules-users@lists.jboss.org
Sent: Wednesday, October 31, 2007 11:03:59 AM
Subject: Re: [rules-users] Problem
did you try AccessRule((allowedLocation in (ANY, $loc)?
Adrian Cowham wrote:
I'm running into an issue where the || operator embedded in a collect CE
isn't working as expected. The rule I have is
rule Grant Access
when
$request : AccessRequest($name : username, $ID :
hi all:
How can I define java Enum In the Excel decision table?
I have a enum like this:
public enum JobStatus {
UNEMPLOYED,EMPLOYED,RETIRED
}
Thanks
tobato
--
Confidentiality Notice:
Markus, did you tried:
[consequence][]write {value} to stdout=System.out.println({value});
With the line:
write $item.getMessage() to stdout
[]s
Edson
2007/11/7, Markus Helbig [EMAIL PROTECTED]:
Hi,
following example:
Item Class:
public class MyItem {
public
Your message seems to be truncated.
Can you please re-send?
[]s
Edson
2007/11/7, Adrian Cowham [EMAIL PROTECTED]:
I'm running into an issue where the || operator embedded in a collect CE
isn't working as expected. The rule I have is
rule Grant Access
when
$request
I'm running into an issue where the || operator embedded in a collect isn't
working as expected. My collect statement is as follows...
$request : AccessRequest($name : username, $ID : sessionID, $loc :
accessLocation, $day : dayOfAccess)
$locationRules : ArrayList(size 0) from
Robert.
Fernando is taking a look in that.
[]s
Edson
2007/11/6, Robert Morse [EMAIL PROTECTED]:
Hello Edson,
If you are willing to download and install JBoss AS 4.2.1 and Seam
2.0.0.CR2, I can send you a slightly modified Seam example that will
demo this problem.
If you want
://lists.jboss.org/pipermail/rules-users/attachments/20071107/451e832f/attachment-0001.html
--
Message: 2
Date: Wed, 7 Nov 2007 19:53:36 + (UTC)
From: Adrian [EMAIL PROTECTED]
Subject: [rules-users] Re: inconsistency with 'collect' and the '||'
operator
To: rules
16 matches
Mail list logo