[rules-users] how to get a node which is runing in processes?

2010-08-24 Thread 亮亮
hi all, I have some troubles on drools5.0. this is my questions: 1,There is a event node in ruleflow ,Is it able to customize the events? If its can, is it in the rules file to use @ role (event) to define? 2,In ruleflow, how to get a node which is runing in processes? Please help me .THS! _

Re: [rules-users] rules update not working properly .

2010-08-24 Thread sony . john
Hi All, If i modify the rule as follows it will work . what could be the issue . Is it bug in rules 5.1 rule "Referback" when $workflow : Workflow(workflowActorId==2) $workflow1 : Workflow() $workflowactor11 : WorkflowActor(actorId== 1) $workflowactor : WorkflowActor( $actoremail :

Re: [rules-users] comparing an intersection of sets..

2010-08-24 Thread Wolfgang Laun
There's a way for defining custom operators, but it's not worth the hustle unless you are using this intersecion /= {} very heavily. Stay with eval. -W On 24 August 2010 17:42, mechlife wrote: > > Hi, > > I have a situation where i need to evaluate a condition where the > intersection of 2 sets

[rules-users] rules update not working properly .

2010-08-24 Thread sony . john
Hi All, When i try to update three object in rules its changes the values in rules . But after update its not reflecting on my calling code. But workflowAction object has been updated. What could be the problem anything i missed out here. Please help me . rule "Referback" when $

[rules-users] Drools and Java EE

2010-08-24 Thread ljnelson
Hello; I've made a JCA resource adapter for Drools. I've had to hack quite a bit to get it so that the KnowledgeAgent- and resource-scanning-related parts don't use Threads, but, instead, use the JCA-supplied WorkManager and BootstrapContext#createTimer() for asynchronous operations (like resourc

Re: [rules-users] Drools Flow inconsistancies

2010-08-24 Thread paulB
Thanks for the reply, Kris. I am using a KnowledgeAgent instead of a KnowledgeBuilder. -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Flow-inconsistancies-tp862p1318676.html Sent from the Drools - User mailing list archive at Nabble.com.

[rules-users] NoClassDefFoundError when inserting Guvnor-declared Fact

2010-08-24 Thread John Peterson
I'm experiencing a stack trace error (which I've pasted below) with a sample Drools/Guvnor application. I'm running version 5.0.1 right now. Here's the scenario: I have a Java application loading data (56 records right now) from a flat file, creating objects (one per row), parsing the individual

[rules-users] Bug?

2010-08-24 Thread Pavel Tavoda
When I use latest 5.1.1 I'm getting following error when using change-set with DTABLE: Exception in thread "main" java.lang.NullPointerException at org.drools.decisiontable.DecisionTableProviderImpl.compileStr

Re: [rules-users] counting facts of a kind

2010-08-24 Thread Edson Tirelli
> > > Good to know. OTOH, is there any good reason for count() having an argument > at all? Just because all others have an argument? Nowadays, the uniform > signature could be (Object... objs) which would, e.g., permit you to write > count() without the dummy argument. Others, such as sum, average

[rules-users] comparing an intersection of sets..

2010-08-24 Thread mechlife
Hi, I have a situation where i need to evaluate a condition where the intersection of 2 sets should atleast have one element in it. I am using drools template to create the DRL and have a set B (item1,item2, item3, item4). Now, at runtime i have a setA (item2, item5). the intersection of the set

[rules-users] Guvnor package and gwt-server ChangeSet definition

2010-08-24 Thread thomas.k
Upcoming from http://drools-java-rules-engine.46999.n3.nabble.com/Can-t-see-process-in-gwt-console-after-changing-guvnor-to-authenticator-td1025462.html this thread, I have a question regarding guvnor, gwt-console-server and the ChangeSet definition. Lets say I have a custom package called 'co

Re: [rules-users] no visitor implementation for : class org.drools.rule.TypeDeclaration

2010-08-24 Thread Tina Vießmann
Thank you for the explanation, Esteban. :) I'm sorry, but I have still some uncertainties about it. #1 I'm not sure if I've understood it correct. Is the message displayed every time a resource containing declares is modified or does is it displayed if the declare statements are changed? #2

[rules-users] Weird exception: unknow node id: 8

2010-08-24 Thread Miloslav Vlach
the exception is thrown when a signalEvent is called. The node id 8 is EventNode in the flowgraph. Know somebody where is the problem ? Thanks Miloslav Vlach -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Weird-exceptio

[rules-users] Rules in Database.

2010-08-24 Thread tom ska
Hi, what I can't do is to save rules defined in Guvnor to DBMS's tables. I want another application to read rules, and this another application can read from Database. I saved Guvnor's data in database, but I can't see tables with rules definition... How can I do it? Thanks in advance, tom. __

Re: [rules-users] Drools Flow inconsistancies

2010-08-24 Thread Kris Verlaenen
Paul, Do you use the same KnowledgeBuilder for adding all your processes to the KnowledgeBase? That should make sure that any potential conflict in generated java classes is resolved automatically. Kris - Original Message - From: "paulB" To: Sent: Wednesday, August 18, 2010 7:03 PM

[rules-users] Error while applying changeset in 5.1 version

2010-08-24 Thread Swapnil Sawant
Hi, I have used 5.1 drools-api and drools-core JARs and wrote following code : String currentWorkingDirectory = System.getProperty("ofbiz.home"); kagent = KnowledgeAgentFactory.newKnowledgeAgent( "MyRuleAgent" ); String url = "file:"+currentWorkingDirectory+"/framework

Re: [rules-users] counting facts of a kind

2010-08-24 Thread Wolfgang Laun
2010/8/24 Edson Tirelli > > Wolfgang, > > The requirement for serializable classes even when not using > persistence was a "mistake" made several versions ago and I believed it was > fixed. What version of Drools are you using? If that is trunk, we need to > fix it. > > The latest officia