Re: [rules-users] Check if fact is subset of items in the rule

2010-10-11 Thread Greg Barton
Try the custom operator Wolfgang suggested. Then rete will be used. --- On Mon, 10/11/10, kpandey wrote: > From: kpandey > Subject: Re: [rules-users] Check if fact is subset of items in the rule > To: rules-users@lists.jboss.org > Date: Monday, October 11, 2010, 8:23 PM > > I got it to work u

Re: [rules-users] Check if fact is subset of items in the rule

2010-10-11 Thread kpandey
I got it to work using eval like so when ... eval($mycontext.isNotSubset("STRING1", "STRING2","STRING3", "STRING4")) I have the logic in isNotSubset method in context class to check if the set the context is subset of array passed in the call to the method. This works but I believe this c

[rules-users] Rules Fest October 2010

2010-10-11 Thread Mark Proctor
Rules Fest is in full swing, http://rulesfest.org/html/home.html. Great attendance with around 100 people and great food :) Myself, Edson and Davide are here. Davide did a great lunch time talk. Kris will be arriving on Wednesday to help with the BootCamp. It's been a lot of preparation last

Re: [rules-users] Using rule flow in Guvnor

2010-10-11 Thread krkaleraj
Hi, if you are still looking for answer then.. The ruleflow package name and the package name in guvnor should be same. Try and let me know. How to check the rule flow package name? (If you dont know) Open your rf in eclipse just click on the empty space (I meant not in any notation) you shoul

[rules-users] Using Drools and Spring in an OSGi environment

2010-10-11 Thread O.S.
Hello, I'm actually using Drools in an OSGi environment and everything looks fine so far. But now I want to configure the KnowledgeBases etc. via Spring-XML-Configuration, like it's shown in the 5.1.1 Integration Guide

Re: [rules-users] Check if fact is subset of items in the rule

2010-10-11 Thread kpandey
Wolf, in my case the superset in the rule is hard-coded in each rule. Each rule can have different values in the set. -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Check-if-fact-is-subset-of-items-in-the-rule-tp1680013p1681143.html Sent from the Drools -

Re: [rules-users] Check if fact is subset of items in the rule

2010-10-11 Thread kpandey
yes, Superset is defined in the rule and subset comes from the fact. -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Check-if-fact-is-subset-of-items-in-the-rule-tp1680013p1681036.html Sent from the Drools - User mailing list archive at Nabble.com. __

Re: [rules-users] Check if fact is subset of items in the rule

2010-10-11 Thread Wolfgang Laun
I think I have pointed you to my implementation of a custom operator doing set operations. What keeps you from adopting this technique? -W 2010/10/11 Kumar Pandey > Posting a new thread for this specific problem that has been a head > scratcher for me for days now. > > Here is the problem space

[rules-users] ODP: Upating drl file without restarting the application

2010-10-11 Thread Pierre de Leusse
Hello, Alternatively, KnowledgeBase has removeRule and getRule functions that allow updating rules (by package name and rule name if I remember correctly). I hope it helps, Pierre Od: rules-users-boun...@lists.jboss.org [mailto:rules-users-boun...@lists.jboss.org] W imieniu Michael Ans

Re: [rules-users] Script Task BUG????

2010-10-11 Thread Yaniv Itzhaki
yes, I am running a loop over my rules and flow files and call the method kbuilder.add(ResourceFactory.newFileResource(file), type); my process ids are: mainFlow, phase1 and phase2 2010/10/10 Mauricio Salatino > are you doing > kbuilder.add(ResourceFactory.newFileResource(file), typ > > for ea

Re: [rules-users] Upating drl file without restarting the application

2010-10-11 Thread Michael Anstis
Have a look at KnowledgeAgent and change-sets. KnowledgeBuilder already supports the operations you define. Have a look at the manual and JavaDocs. With kind regards, Mike 2010/10/11 > Hi > > How to achieve dynamic updation of rule file (rules-added/deleted/modified) > without the need for

[rules-users] Upating drl file without restarting the application

2010-10-11 Thread devyani.sapre
Hi How to achieve dynamic updation of rule file (rules-added/deleted/modified) without the need for the application to be restarted so as to load the rule file? Is there any property that can be set to achieve this or do I need to run a thread to continuously monitor the rule file for any change?

[rules-users] Informations about the roadmap

2010-10-11 Thread HERICHER Benoit DSIC SGSIC
Hi! Are there any informations about the roadmap : what could we expect in the next releases and when should they be available? Regards Benoit ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-use

Re: [rules-users] Check if fact is subset of items in the rule

2010-10-11 Thread Swindells, Thomas
So you want the rule to fire if there exists a String from subset which is not in superset? From: rules-users-boun...@lists.jboss.org [mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Kumar Pandey Sent: 11 October 2010 13:19 To: rules-users@lists.jboss.org Subject: [rules-users] Check if

[rules-users] Check if fact is subset of items in the rule

2010-10-11 Thread Kumar Pandey
Posting a new thread for this specific problem that has been a head scratcher for me for days now. Here is the problem space. I have a rule that can have a superset of elements such as say "String1", "String2", "String3" , "String4". These are known in rule creation time. Fact can have subset sa