Is InternalRuleBase safe to use?
by 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 http://downloads.jboss.com/drools/docs/_
4.0.3.15993.GA/apidocs/org/drools/common/InternalRuleBase.html
does not have any annotation that it is internal use only. However the naming
convention sure makes me this this is a bad idea.
Any alternatives to the following code to retrieve the
ConsequenceExceptionHandler?
InternalRuleBase thisSmellsLikeABadIdea= (InternalRuleBase) wm.getRuleBase();
DroolsExceptionHandler deh = (DroolsExceptionHandler)
thisSmellsLikeABadIdea.getConfiguration().getConsequenceExceptionHandler();
List<Exception> exceptions = deh.getExceptions();
(Where DroolsExceptionHandler is
package droolsconfig;
import java.util.ArrayList;
import java.util.List;
import org.drools.WorkingMemory;
import org.drools.spi.Activation;
import org.drools.spi.ConsequenceExceptionHandler;
public class DroolsExceptionHandler implements ConsequenceExceptionHandler {
List<Exception> exceptions = new ArrayList<Exception>();
public DroolsExceptionHandler() {
}
public void handleException(Activation activation, WorkingMemory
workingMemory, Exception exception) {
exceptions.add(exception);
}
public List<Exception> getExceptions() {
return exceptions;
}
}
)
17 years, 1 month
drools compiler error
by prashant sharma
Hi,
I am using drools version 3.2 with JANINO compiler. I have an application that processes about 30k rules. Most of the time it works fine but sometime (1 in 20), I get this error.
2007-11-10 02:15:20,658 ERROR [STDERR] java.lang.NoSuchMethodError: org.eclipse.jdt.internal.compiler.CompilationResult.getProblems()[Lorg/eclipse/jdt/core/compiler/CategorizedProblem;
2007-11-10 02:15:20,658 ERROR [STDERR] at org.apache.commons.jci.compilers.EclipseJavaCompiler$2.acceptResult(EclipseJavaCompiler.java:237)
2007-11-10 02:15:20,658 ERROR [STDERR] at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:335)
2007-11-10 02:15:20,658 ERROR [STDERR] at org.apache.commons.jci.compilers.EclipseJavaCompiler.compile(EclipseJavaCompiler.java:268)
2007-11-10 02:15:20,658 ERROR [STDERR] at org.drools.compiler.PackageBuilder.compileAll(Unknown Source)
2007-11-10 02:15:20,658 ERROR [STDERR] at org.drools.compiler.PackageBuilder.addPackage(Unknown Source)
2007-11-10 02:15:20,658 ERROR [STDERR] at org.drools.compiler.PackageBuilder.addPackageFromDrl(Unknown Source)
thanks,
Prashant
17 years, 1 month
Using param of innerclass in <LHS> condition
by Martin Book
Hello,
the class ContactQueueDetail contains class ContactCallDetailId.
ContactQueueDetail cqd
I have asserted cqd to the WorkingMemory.
It contains ContactCallDetailId id;
On the LHS I need the Timestamp t=id.getStartDateTime();
I have not found the correct Syntax for this, yet.
My rule looks like this:
rule "ContactQueueDetail"
when
$cqd:ContactQueueDetail($disp:disposition==1,$id:id.startDateTime)
$h: CallsPerHour(hour==$id.getHour())
then
..
end
kind regards
Martin
17 years, 1 month
rule name specification
by Barfield Steve
Is there a specification for rule name ie length + characters it can
contain. I have searched the documentation but maybe I missed it.
17 years, 1 month
RE: rules-users Digest, Vol 11, Issue 27
by Sikkandar Nawabjan
Hi,
What is the Role of dslr in development and deployment perspective.
i don't see anything about dslr in this manual.
please send some link where i can learn about this
Thanks and Regs,
basha
________________________________
From: rules-users-bounces(a)lists.jboss.org on behalf of rules-users-request(a)lists.jboss.org
Sent: Thu 10/4/2007 5:31 AM
To: rules-users(a)lists.jboss.org
Subject: rules-users Digest, Vol 11, Issue 27
Send rules-users mailing list submissions to
rules-users(a)lists.jboss.org
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.jboss.org/mailman/listinfo/rules-users
or, via email, send a message with subject or body 'help' to
rules-users-request(a)lists.jboss.org
You can reach the person managing the list at
rules-users-owner(a)lists.jboss.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of rules-users digest..."
Today's Topics:
1. RE: rules precompilation (ekke)
2. Re: How to have your emails ignored (Scott Reed)
3. Drools web project in eclipse - Drools Library issue (Malika)
4. Re: rules precompilation (Scott Reed)
5. Re: custom defined types in setter and getters (Steven Williams)
6. Re: Drools web project in eclipse - Drools Library issue
(Steven Williams)
7. Re: Drools web project in eclipse - Drools Library issue
(Fernando Meyer)
----------------------------------------------------------------------
Message: 1
Date: Wed, 3 Oct 2007 13:07:57 -0700 (PDT)
From: ekke <ekkehard(a)gentz-software.de>
Subject: [rules-users] RE: rules precompilation
To: rules-users(a)lists.jboss.org
Message-ID: <13026864.post(a)talk.nabble.com>
Content-Type: text/plain; charset=us-ascii
sergey,
just tried it:
exported a package with rules as stream
(using the writeExternal() from Package)
then in another run I created new RuleBase, added new Package,
then import the rules into this empty Package (using the readExternal() from
Package)
then added some facts, execute the rules,
tested if all rules are there,
tested if the Facts are in workingMemory - all ok
(using snapshot 4.0.2, eclipse 3.3, osx 10.4.10)
ekke
Manukyan, Sergey wrote:
>
> Ming, Ekke,
>
> After deserialising the Package back - getting exception when inserting
> facts:
>
> Exception thrown : java.lang.NoClassDefFoundError: XXXShadowProxy
>
> XXX - is my class name
>
> Any ideas?
>
> -Sergey
>
>
>
> -----Original Message-----
> From: rules-users-bounces(a)lists.jboss.org
> [mailto:rules-users-bounces@lists.jboss.org] On Behalf Of Jin, Ming
> Sent: Wednesday, October 03, 2007 1:50 PM
> To: Rules Users List
> Subject: RE: [rules-users] rules precompilation
>
> Sergey,
>
> I am using precompiled rules. Serializing instances of
> org.drools.rule.Package works for me.
>
> Thanks,
> -Ming
>
> -----Original Message-----
> From: rules-users-bounces(a)lists.jboss.org
> [mailto:rules-users-bounces@lists.jboss.org] On Behalf Of Manukyan,
> Sergey
> Sent: Wednesday, October 03, 2007 12:29 PM
> To: Rules Users List
> Subject: [rules-users] rules precompilation
>
>
> Folks,
>
> Where can I find information on how to pre-compile rules in 4.0.1?
>
> Thanks,
>
> -Sergey
>
>
> **********************
> ** LEGAL DISCLAIMER **
> **********************
>
> This E-mail message and any attachments may contain legally privileged,
> confidential or proprietary information. If you are not the intended
> recipient(s), or the employee or agent responsible for delivery of this
> message to the intended recipient(s), you are hereby notified that any
> dissemination, distribution or copying of this E-mail message is
> strictly prohibited. If you have received this message in error, please
> immediately notify the sender and delete this E-mail message from your
> computer.
>
> _______________________________________________
> rules-users mailing list
> rules-users(a)lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
> _______________________________________________
> rules-users mailing list
> rules-users(a)lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
> _______________________________________________
> rules-users mailing list
> rules-users(a)lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
--
View this message in context: http://www.nabble.com/How-to-have-your-emails-ignored-tf4562290.html#a130...
Sent from the drools - user mailing list archive at Nabble.com.
------------------------------
Message: 2
Date: Wed, 03 Oct 2007 17:42:51 -0400
From: Scott Reed <sreed(a)spamcop.net>
Subject: Re: [rules-users] How to have your emails ignored
To: Rules Users List <rules-users(a)lists.jboss.org>
Message-ID: <47040CDB.3030706(a)spamcop.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Mark Proctor's message received 10/3/2007 12:28 PM:
> Scott Reed wrote:
>> Please tell me how I can call a function on the LHS.
>> (hurry my assignment is due today!)
> Is that not covered by #2, it's more of an example for #2?
Actually I thought I was being funny about #11 and threw in the bit about getting my homework done
for spice. I always get a kick out of the emails that ask for solutions to homework problems. Do we
want to ignore those too?
> #1. Start the email with "URGENT"
> #2. Tell everyone how desparate you and how you need an immediate
> response for your really important project.
> #3. Don't wait a minimum of 3 days and resend your email within minutes
> of hours.
> #4. Send emails directly to mailing list members, especially the
> developers.
> #5. Paste pages of code and then say "it doesn't work, please help".
> #6. Paste a long stack trace and say "it doesn't work, please help".
> #7. Start your email with "please sirs" or include "do the needful".
> #8. Ask dumb questions that are in the manual.
> #9. Ask basic java questions.
> #10. Ask questions about JRules
> #11. Reply to an existing thread but starting a new topic
> #12. Start your email with "I'm a member of the drools mailinglist, so
> please answer me"
> #13. General begging and pleading
------------------------------
Message: 3
Date: Wed, 3 Oct 2007 14:44:16 -0700 (PDT)
From: Malika <nu_age_gal(a)yahoo.com>
Subject: [rules-users] Drools web project in eclipse - Drools Library
issue
To: rules-users(a)lists.jboss.org
Message-ID: <13028564.post(a)talk.nabble.com>
Content-Type: text/plain; charset=us-ascii
Hello,
I started to write web app using drools decision table. Here is what I have
in my web project in eclipse 3.3,
drools 4.0:
1. A Jsp page that takes input and pass it on to a servlet that fires the
rules.
2. Servlet class has import statements:
import org.drools.RuleBase;
import org.drools.RuleBaseFactory;
import org.drools.StatefulSession;
import org.drools.StatelessSession;
import org.drools.WorkingMemory; and so on..
3. When I run the jsp on tomcat, it starts but when i hit submit it throws
the exception:
java.lang.NoClassDefFoundError: org/drools/RuleBase
4. I have drools jar files added under project properties - build path-> add
external jars from
"C:\wtp_all_in_one\eclipse\configuration\org.eclipse.osgi\bundles\503\1\.cp\lib".
This is showing all drools jar files under Libraries hierarchy.
Could anyone please suggest what to do to resolve this error?
Thanks and Regards,
Malika
--
View this message in context: http://www.nabble.com/Drools-web-project-in-eclipse---Drools-Library-issu...
Sent from the drools - user mailing list archive at Nabble.com.
------------------------------
Message: 4
Date: Wed, 03 Oct 2007 17:44:43 -0400
From: Scott Reed <sreed(a)spamcop.net>
Subject: Re: [rules-users] rules precompilation
To: Rules Users List <rules-users(a)lists.jboss.org>
Message-ID: <47040D4B.9050508(a)spamcop.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
You didn't even bother to read the thread you interrupted here, did you Sergey?
Manukyan, Sergey's message received 10/3/2007 1:29 PM:
> Folks,
>
> Where can I find information on how to pre-compile rules in 4.0.1?
>
> Thanks,
>
> -Sergey
------------------------------
Message: 5
Date: Thu, 4 Oct 2007 09:30:13 +1000
From: "Steven Williams" <stevearoonie(a)gmail.com>
Subject: Re: [rules-users] custom defined types in setter and getters
To: "Rules Users List" <rules-users(a)lists.jboss.org>
Message-ID:
<e48d29d70710031630w6ad9ea9u7d7d217d4f50ad82(a)mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
No - you can use any java object as a fact, so both of your classes are
fine. For instance you could do:
when
Car($p: paint)
then
System.out.println($p.getName());
end
and using MVEL you could do:
when
Car(paint.name == "red")
then
...
On 10/4/07, jack wu <jackxwu(a)yahoo.com> wrote:
>
> Hi, i suppose the second form of fact is not supported. but i'd like to
> confirm.
>
> in other words, you can only have setters and getters that return basic
> java types. is that right? can i return java collections such as array and
> map? the documentation is not clear on that.
>
> thanks.
>
> public class Paint
> {
> String getName();
> String getColor();
> }
>
>
> public class Car
> {
> int getSize();
> Paint getPaint();
> }
>
>
> jack.
>
>
>
> ------------------------------
> Got a little couch potato?
> Check out fun summer activities for kids.<http://us.rd.yahoo.com/evt=48248/*http://search.yahoo.com/search?fr=oni_o...>
>
> _______________________________________________
> rules-users mailing list
> rules-users(a)lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
--
Steven Williams
Supervising Consultant
Object Consulting
Office: 8615 4500 Mob: 0439 898 668 Fax: 8615 4501
steven.williams(a)objectconsulting.com.au
www.objectconsulting.com.au
consulting | development | training | support
our experience makes the difference
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20071004/acc0773...
------------------------------
Message: 6
Date: Thu, 4 Oct 2007 09:37:50 +1000
From: "Steven Williams" <stevearoonie(a)gmail.com>
Subject: Re: [rules-users] Drools web project in eclipse - Drools
Library issue
To: "Rules Users List" <rules-users(a)lists.jboss.org>
Message-ID:
<e48d29d70710031637k7df17f36pd1a33118b7312aa7(a)mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
Make sure the drools jars end up in your WEB-INF/lib directory.
cheers
Steve
On 10/4/07, Malika <nu_age_gal(a)yahoo.com> wrote:
>
>
> Hello,
>
> I started to write web app using drools decision table. Here is what I
> have
> in my web project in eclipse 3.3,
> drools 4.0:
>
> 1. A Jsp page that takes input and pass it on to a servlet that fires the
> rules.
> 2. Servlet class has import statements:
> import org.drools.RuleBase;
> import org.drools.RuleBaseFactory;
> import org.drools.StatefulSession;
> import org.drools.StatelessSession;
> import org.drools.WorkingMemory; and so on..
> 3. When I run the jsp on tomcat, it starts but when i hit submit it throws
> the exception:
>
> java.lang.NoClassDefFoundError: org/drools/RuleBase
>
> 4. I have drools jar files added under project properties - build path->
> add
> external jars from
>
> "C:\wtp_all_in_one\eclipse\configuration\org.eclipse.osgi\bundles\503\1\.cp\lib".
> This is showing all drools jar files under Libraries hierarchy.
>
> Could anyone please suggest what to do to resolve this error?
>
> Thanks and Regards,
> Malika
>
>
> --
> View this message in context:
> http://www.nabble.com/Drools-web-project-in-eclipse---Drools-Library-issu...
> Sent from the drools - user mailing list archive at Nabble.com.
>
> _______________________________________________
> rules-users mailing list
> rules-users(a)lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
--
Steven Williams
Supervising Consultant
Object Consulting
Office: 8615 4500 Mob: 0439 898 668 Fax: 8615 4501
steven.williams(a)objectconsulting.com.au
www.objectconsulting.com.au
consulting | development | training | support
our experience makes the difference
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20071004/0a7c312...
------------------------------
Message: 7
Date: Wed, 3 Oct 2007 21:01:42 -0300
From: "Fernando Meyer" <fmcamargo(a)gmail.com>
Subject: Re: [rules-users] Drools web project in eclipse - Drools
Library issue
To: "Rules Users List" <rules-users(a)lists.jboss.org>
Message-ID:
<bc9e67320710031701w6630f142qaa4e2386bb2dae0a(a)mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hi,
You can check the drools insurance example
http://anonsvn.labs.jboss.com/labs/jbossrules/trunk/drools-examples/drool...
Regards
On 10/3/07, Malika <nu_age_gal(a)yahoo.com> wrote:
>
>
> Hello,
>
> I started to write web app using drools decision table. Here is what I
> have
> in my web project in eclipse 3.3,
> drools 4.0:
>
> 1. A Jsp page that takes input and pass it on to a servlet that fires the
> rules.
> 2. Servlet class has import statements:
> import org.drools.RuleBase;
> import org.drools.RuleBaseFactory;
> import org.drools.StatefulSession;
> import org.drools.StatelessSession;
> import org.drools.WorkingMemory; and so on..
> 3. When I run the jsp on tomcat, it starts but when i hit submit it throws
> the exception:
>
> java.lang.NoClassDefFoundError: org/drools/RuleBase
>
> 4. I have drools jar files added under project properties - build path->
> add
> external jars from
>
> "C:\wtp_all_in_one\eclipse\configuration\org.eclipse.osgi\bundles\503\1\.cp\lib".
> This is showing all drools jar files under Libraries hierarchy.
>
> Could anyone please suggest what to do to resolve this error?
>
> Thanks and Regards,
> Malika
>
>
> --
> View this message in context:
> http://www.nabble.com/Drools-web-project-in-eclipse---Drools-Library-issu...
> Sent from the drools - user mailing list archive at Nabble.com.
>
> _______________________________________________
> rules-users mailing list
> rules-users(a)lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
--
Fernando Meyer http://fmeyer.org <http://fmeyer.org/>
JBoss Rules Core Developer
fmcamargo(a)gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20071003/52246c0...
------------------------------
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
End of rules-users Digest, Vol 11, Issue 27
*******************************************
17 years, 1 month
Remotely debugging application server code
by Marcus Ilgner
Hi list,
I'm experiencing problems when remotely debugging my JBoss-Rules-using
application running on an application server.
The application server is JBoss 4.2.1.GA and I connect to it via
Eclipse. My JBoss Rules version is 4.0.3.
As soon as I start inserting facts, the application seems to hang. The
debugger reports the status "Running" on all threads, however the
application does not seem to reach the next statement (which is a
logging statement).
When I disconnect the debugger, the execution resumes and everything works fine.
The displayed callstack when suspending the execution claims that the
execution has reached the next breakpoint, however I'm in doubt that
this is true and there's no way for me to resume the execution.
Maybe some of you have experienced something similar. I had no
problems at all debugging the code that does all the work before the
fact insertion. Only after starting to insert facts the debugging goes
awry.
Best regards
Marcus
17 years, 1 month
using primitive datatypes?
by Fabian Weisensee
Hello everyone
just one quick question:
I tried to invoke a rule from inside of jBPM. This works now, but I have
a major problem. The rule is quite simple and should only check if an
integer from the jBPM process is greater than a limit. I insert this
integer into the workingmemory, but as I understand it, drools only
works with objects.
I tried "Integer(intValue >= limit)" on the LHS but that only let my
process hang at the drools-decision.
Is this possible at all? Or do I have to wrap this integer into an object?
-- Fabian
PS: the whole rule looks like this:
rule "Rechnung pruefen"
when
r1 :Integer(intValue >= 500)
ci : ContextInstance (id >= 0)
then
ci.setVariable("mussPruefen", true);
System.out.println("Rechnung muss geprueft werden");
end
17 years, 1 month
Exception error when using RuleAgent
by kissro@lidp.com
Hello,
I created a rule in BRMS and downloaded the package to a directory. I'm
using RuleAgent to load the RuleBase using the following code:
RuleAgent agent =
RuleAgent.newRuleAgent("/brmsunderwritingrules.properties");
RuleBase ruleBase = agent.getRuleBase();
I'm getting the following errors. Could someone tell me what I'm doing
wrong and/or how to fix this please.
ERROR [STDERR] RuleAgent(underwritingconfig) INFO
: Configuring with newInstance=true, secondsToRefresh=30
ERROR [STDERR] RuleAgent(underwritingconfig) INFO
: Configuring package provider : DirectoryScanner scanning
dir: \deployed\rules found 2 file(s).
ERROR [STDERR] java.lang.ClassCastException:java.util.Collections$EmptyMap
ERROR [STDERR] at org.drools.rule.Package.readExternal
ERROR [STDERR] at
java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1753)
ERROR [STDERR] at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1711)
ERROR [STDERR] at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
ERROR [STDERR] at
java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
ERROR [STDERR] at
org.drools.agent.FileScanner.readPackage(FileScanner.java:109)
ERROR [STDERR] at
org.drools.agent.FileScanner.getChangeSet(FileScanner.java:79)
ERROR [STDERR] at
org.drools.agent.FileScanner.loadPackageChanges(FileScanner.java:57)
ERROR [STDERR] at
org.drools.agent.DirectoryScanner.loadPackageChanges(DirectoryScanner.java:43)
ERROR [STDERR] at
org.drools.agent.RuleAgent.checkForChanges(RuleAgent.java:330)
ERROR [STDERR] at
org.drools.agent.RuleAgent.refreshRuleBase(RuleAgent.java:298)
ERROR [STDERR] at
org.drools.agent.RuleAgent.configure(RuleAgent.java:284)
ERROR [STDERR] at
org.drools.agent.RuleAgent.init(RuleAgent.java:208)
ERROR [STDERR] at
org.drools.agent.RuleAgent.newRuleAgent(RuleAgent.java:176)
ERROR [STDERR] at
org.drools.agent.RuleAgent.newRuleAgent(RuleAgent.java:148)
Thank You
Rod
17 years, 1 month
From accumulate compilation error : java.Math.BigDecimal cannot be resolved to a type
by Andy Mei
Hi,
I am getting compilation error when I tried to use
java.Math.BigDecimal object within from accumulate clause. I am not
sure why Drools does not regonize full qualify namespaces for
BigDecimal.
Here is my LHS:
>$netDailyPnl : Number ( )
> from accumulate ( Position ( secId == $pos.secId, $baseRealizedPnl :
baseRealizedPnl, $baseUnrealizedPnl : baseUnrealizedPnl ),
> init ( java.Math.BigDecimal netDailyPnl = new java.Math.BigDecimal ( 0 ); ),
> action ( netDailyPnl.add($baseRealizedPnl);
netDailyPnl.add($baseUnrealizedPnl); ),
> reverse ( ),
> result ( netDailyPnl )
> )
Here is compilation log:
Caused by: org.drools.compiler.DroolsParserException: Rule Compilation
error : [Rule name=Extreme Single Position (TID) PL Movement,
agendaGroup=MAIN, salience=43, no-loop=false]
com/trg/pnl/Rule_Extreme_Single_Position__TID__PL_Movement_0.java
(12:370) : java.Math.BigDecimal cannot be resolved to a type
com/trg/pnl/Rule_Extreme_Single_Position__TID__PL_Movement_0.java
(21:557) : netDailyPnl cannot be resolved
com/trg/pnl/Rule_Extreme_Single_Position__TID__PL_Movement_0.java
(21:575) : java.Math.BigDecimal cannot be resolved to a type
com/trg/pnl/Rule_Extreme_Single_Position__TID__PL_Movement_0.java
(31:1030) : netDailyPnl cannot be resolved
com/trg/pnl/Rule_Extreme_Single_Position__TID__PL_Movement_0.java
(31:1065) : netDailyPnl cannot be resolved
com/trg/pnl/Rule_Extreme_Single_Position__TID__PL_Movement_0.java
(47:1667) : netDailyPnl cannot be resolved
at com.trg.ruleengine.util.RuleBaseBuilder.readRule(RuleBaseBuilder.java:104)
at com.trg.ruleengine.impl.DroolsRuleEngineBuilder.getRuleBase(DroolsRuleEngineBuilder.java:109)
... 10 more
Thanks!
Andy
17 years, 1 month
Query Problem
by Ronald R. DiFrango
All,
I have the following query:
query "Open RTV Lines"
line : DetailLine(status in (StatusConstants.OPEN,
StatusConstants.PARTIALLY_MATCHED))
end
And what appears to be happening is it is only picking up those lines that
are marked with StatusConstants.PARTIALLY_MATCHED and not those marked with
StatusConstants.OPEN.
Now here is the rub, if a line gets marked as StatusConstants.OPEN then it
gets pulled off the agenda for further processing. Could this be why it is
not getting picked up by the query?
Ron
17 years, 1 month