[rules-users] RE: [rules-dev] Featured Drools Job - Tier One Investment Bank

2007-08-08 Thread Marcos Tengelmann
Hi, I guess I miss the job board announcement and worst, Mr. ET did not tell me anything about. Any kind kind of promotion to the second :) Solution is our Business Marcos Tengelmann Relações Comerciais Auster So

Re: [rules-users] JBRMS

2007-08-08 Thread Shahad Ahmed
Internationalisation is definitely a good thing to increase the uptake of drools. Has there been any progress with this issue, as I couldn't see any JIRA raised for Internationalisation? I can appreciate its requires a lot of code changes as most error reporting and logging appears to be hard code

Re: [rules-users] architectural question: accessing large dataset from rdbms?

2007-08-08 Thread Scott Finnie
Hi Mark, Thanks for the response. Comforting we seem to be on the right track, pity it's just an imaginary one :-) Will see what happens, but thanks again for now. - Scott. Mark Proctor wrote: I've had ideas on how to do this, but no timelines or concrete plans. The basic idea is as rules

Re: [rules-users] bug in "accumulate"

2007-08-08 Thread Mark Proctor
you didn't have a dollar on the field binding: Parent( h : height ) $ is optional, but you must use the same in all places. Mark Manukyan, Sergey wrote: Folks, Using 4.0. Think I found a bug in accumulate. The variables defined inside cannot be recognized inside of other parts of a

Re: [rules-users] Re: Decision Tables: Probelm with sequence=true

2007-08-08 Thread Mark Proctor
I just looked at the decision-table implementation. The sequential option there is different from rulebase sequential mode, my mistake sorry. sequential the option just sets a salience value on each row, based on row number. So I see no reason why this shouldn't work. Mark Arjun Dhar wrote: th

[rules-users] bug in "accumulate"

2007-08-08 Thread Manukyan, Sergey
Folks, Using 4.0. Think I found a bug in accumulate. The variables defined inside cannot be recognized inside of other parts of accumulate (action, result) f.e. rule ... when o : Date from accumulate ( Parent( h : height ) , init(;), action(;), reverse(), re

[rules-users] no-loop using PropertyChangeListeners instead of update() in rules...doesnt work

2007-08-08 Thread Felipe Piccolini
Hi, I have a problem with no-loop, I run the integration test for no- loop and it works fine because it uses "update" and the fact dont use propertychangelisteners... But if I run the same test but the rule doesnt have update(cheese) and Chesse has propertyChangeListeners to notify when

Re: [rules-users] How to limit results from a collect statement

2007-08-08 Thread Cristiano Giuffrida
Thanks, I'll do that. In the meantime I still need to get the job done asap. Can you provide me an example to implement such a logic using an inline-eval and global (which variable should be global?)? And just out of curiosity can you explain me why this code doesn't work (basically why, after the

[rules-users] Re: Decision Tables: Probelm with sequence=true

2007-08-08 Thread Arjun Dhar
they all have getInstance(), except > Composite, so it should be fine. Hi Mark, I appreciate the tip regarding writing cutom ConflictResolvers, I needed that as a develper who cant keep his nose out of the core code. But right now as an end user I have a problem. I opened my mouth about rules o

Re: [rules-users] Decision Tables: Probelm with sequence=true

2007-08-08 Thread Mark Proctor
As the docs state sequential rete, I'm assuming this is what you mean, does not allow full inference modification of data does not result in re-evaluation of rules, i.e. update() does nothing. You can achieve what you want using a custom Conflict Resolution Strategy, however I advise you to be

Re: [rules-users] Decision Tables: Probelm with sequence=true

2007-08-08 Thread Mark Proctor
Actually I'm speaking rubbish they all have getInstance(), except Composite, so it should be fine. Mark Mark Proctor wrote: As the docs state sequential rete, I'm assuming this is what you mean, does not allow full inference modification of data does not result in re-evaluation of rules, i.e.

[rules-users] Decision Tables: Probelm with sequence=true

2007-08-08 Thread Arjun Dhar
Hi, I usually use decision tables without sequence. But there was a request Not to use priority and if there was a conflict then the rule on top should get priority. I thought, sequence = true was a good way of ensuring that. But in the rules I call update(); this forces all the rules to fire

Re: [rules-users] RuleFlow group as default or MAIN?

2007-08-08 Thread Felipe Piccolini
Well I guess I got it wrong... startProcess is not about what ruleflow-group start the process, is about what ruleflow definition start firing all rules... but this leads me to the point that this is useful if you have several ruleflows (definitions and files) in the same ruleBase... why so

[rules-users] RuleFlow group as default or MAIN?

2007-08-08 Thread Felipe Piccolini
Is there anyway to set a default ruleflow-group or a MAIN one so I can put rules without ruleflow-group in the same drl as those with ruleflow-group defined and use a .rf where I define a flow in the way that all rules without ruleflow-group (MAIN/ DEFAULT) are fired and then a specific rulef

[rules-users] join array and object

2007-08-08 Thread Manukyan, Sergey
Folks, I have a Parent and Children, but need to do aggregate function on collection of Parent WITH Children, to find the minimum expiration date on them, how can I create in LHS expression a collection of Parent WITH Children? Like: rule ... when

[rules-users] Featured Drools Job - Tier One Investment Bank

2007-08-08 Thread Mark Proctor
http://blog.athico.com/2007/08/featured-drools-job-tier-one-investment.html Caspian One is the first company to place a job advert on the Drools Job Board , as such I thought I'd give it wider promotion :) Intro: Caspian One is working wi

Re: [rules-users] How to limit results from a collect statement

2007-08-08 Thread Mark Proctor
There is no supported way to do this. You could use an inline-eval against a global, but that is very clunkey. However it does seem like a good feature idea for a future release, open a jira and I'll look into getting it included. Mark pentarious wrote: Does anyone know a method to limit the

Re: [rules-users] Cannot set RuleBase configuration options using RuleAgent

2007-08-08 Thread Shahad Ahmed
Thanks for the reply Mark. I've raised a JIRA (JBRULES-1067) for this issue Shahad On 8/8/07, Mark Proctor <[EMAIL PROTECTED]> wrote: > > It seems that is not currently possible, please open a jira and I'll see > if this can be corrected for 4.0.1 > > mark > Shahad Ahmed wrote: > > Does anyon

[rules-users] How to limit results from a collect statement

2007-08-08 Thread pentarious
Does anyone know a method to limit the number of results from a collect statement? I was just wondering how to do something like this: $myList : List() from collect( MyObject(myField == "something") ) limit 3 //it should put in $myList just the first 3 objects retrieved I'm quite sure there is not

Re: [rules-users] Cannot set RuleBase configuration options using RuleAgent

2007-08-08 Thread Mark Proctor
It seems that is not currently possible, please open a jira and I'll see if this can be corrected for 4.0.1 mark Shahad Ahmed wrote: Does anyone know how you can set RuleBase configuration options for a RuleBase created using the RuleAgent? The RuleAgent does not seem to have a mechanism for p

Re: [rules-users] [Drools] Order of sequence of execution of Conditions and Actions

2007-08-08 Thread Mark Proctor
Not easily no, the conditions are always evaluated first before any ruiles are firing. The only way is to use some sort of semaphore that is the first pattern in the rule, which would stop the rest of the rule from being evaluated. Mark Yv RamaRao wrote: Hi all, I has a problem in executing

[rules-users] Cannot set RuleBase configuration options using RuleAgent

2007-08-08 Thread Shahad Ahmed
Does anyone know how you can set RuleBase configuration options for a RuleBase created using the RuleAgent? The RuleAgent does not seem to have a mechanism for passing in a RuleBaseConfiguration object to set options like Sequention mode etc. I know that you can set RuleBase options for all RuleBa