[rules-users] ListDataType in Ruleflow file?

2010-04-21 Thread David Cracauer
Greetings, Is there anyway to define the value of a variable defined as a ListDataType in a ruleflow file? I have a custom WorkItem that can be configured with a list of possible values that will complete it, and I'd like to define it in the ruleflow file. However, any time I define it with anyt

Re: [rules-users] 5.1 JavaDoc

2010-04-10 Thread David Cracauer
Mark, Thanks for the quick follow up. I will just look through the code to find what I need. Regards, Dave Cracauer -- View this message in context: http://n3.nabble.com/5-1-JavaDoc-tp708822p711062.html Sent from the Drools - User mailing list archive at Nabble.com. ___

[rules-users] 5.1 JavaDoc

2010-04-09 Thread David Cracauer
Greetings, I'm working through some issues with flow, and I want to have a look at the (complete) doc, including the impl classes. Is this hosted/available anywhere? I tried to build it from source, and I'm not getting anywhere. Thanks, Dave -- View this message in context: http://n3.nabble.

[rules-users] Cost of queries

2009-02-07 Thread David Cracauer
Hi All, I'm wondering if anyone can tell me the relative performance impact of queries. Is it just the cost of matching facts against them ( regular caching rules apply etc.)? Thanks, Dave ___ rules-users mailing list rules-users@lists.jboss.org h

Re: [rules-users] Intermediate conclusions using strings

2008-08-25 Thread David Cracauer
We've encountered a similar situation where there were many paths to the same conclusion, and we needed to track them. We found the best way was to create a new Object that is created in the lhs and inserted. The below pseudo code should illustrate what I'm talking about. Hopefully it makes

Re: [rules-users] Can I check if a collection contains one, and only one item of another collection

2008-08-23 Thread David Cracauer
ould not match, where "('a','b','c') contains ('a','2','3')" should match. Thanks, Dave Cracauer On Aug 23, 2008, at 8:31 AM, Scott Burrows wrote: You have the answer in your example, reserved word "contains" will giv

Re: [rules-users] firing rules again?

2008-08-23 Thread David Cracauer
Marcin Krol-3 wrote: > > 1. When I call session.fireAllRules(), I find I can no longer add new > facts using this session. Strictly speaking, I can do that, but they > there doesn't seem to be any effect re firing rules. > You shouldn't need to do anything to the existing session. I have

[rules-users] Can I check if a collection contains one, and only one item of another collection

2008-08-23 Thread David Cracauer
Hi, I'm getting stuck on this and I'm hoping someone can help.. I need to be able to check that a collection contains one, and only one item from another collection. Ideally, I would do something like this: a:Answer(responses contains one of ("a","b","c")); Is there a way do do this without r