[rules-users] Firing rules inside an activation-group once per object

2008-11-25 Thread Nimesh Muley
Hi, Is it possible that rules are fired once within an activation-group for each object? Currently if any rule is satisfied for any object it will fire that and stop the execution process. Thus firing only for one object. What I need is something similar to activation-group "groupName" kind of

RE: [rules-users] 2 levels of sorting / distribution in Drools (Date + Proportionate)

2008-11-24 Thread Nimesh Muley
e- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nimesh Muley Sent: Monday, November 24, 2008 8:19 AM To: 'Rules Users List' Subject: RE: [rules-users] 2 levels of sorting / distribution in Drools (Date + Proportionate) Hi, I have been able to solve this. Was

RE: [rules-users] 2 levels of sorting / distribution in Drools (Date + Proportionate)

2008-11-24 Thread Nimesh Muley
Hi, I have been able to solve this. Was an issue the way I had written my rule. Thanks. Regards, - Nimesh From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nimesh Muley Sent: Monday, November 24, 2008 11:31 AM To: 'Rules Users List' Subject: RE: [rules-users] 2 levels

RE: [rules-users] 2 levels of sorting / distribution in Drools (Date + Proportionate)

2008-11-23 Thread Nimesh Muley
Hi, Oops. A slight typo. The objects in the RHS were "$tranche" and "$product". I have modified in the mail below. Regards, - Nimesh From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nimesh Muley Sent: Monday, November 24, 2008 11:24 AM To: 'Rules Users Li

[rules-users] 2 levels of sorting / distribution in Drools (Date + Proportionate)

2008-11-23 Thread Nimesh Muley
Hi, I have tried to implement 2 levels (nested) of sorting / distribution (Date and Proportionate) in Drools and failed :-(. I could not accomplish when the second level was 'proportionate'. Let me clear the terms before I give the example. 2 level --> The criteria chosen for the first level is

RE: [rules-users] Use of "update" with activation-group set.

2008-11-03 Thread Nimesh Muley
an entire > activation-group, or if it only applies to the individual > rule. I'm guessing the latter. > > --- On Mon, 11/3/08, Nimesh Muley > <[EMAIL PROTECTED]> wrote: > > > From: Nimesh Muley <[EMAIL PROTECTED]> > > Subject: [rules-users] Use

[rules-users] Use of "update" with activation-group set.

2008-11-03 Thread Nimesh Muley
Hi, In a DRL I have activation-group for certain rules along with ruleflow-group. I also need to "update" the object as I need the updated value in some other ruleflow-group. Since the updated object is part of the condition, the other rules in the same activation group get fired once a rule in

RE: [rules-users] Changing the default character for delimiter in decision tables

2008-10-10 Thread Nimesh Muley
Hi, All this boils down to RuleModel which does not have mechanism of sending more than 1 attribute in an action. Look at BRDRLPersistence and also ActionFieldSetValue classes in drools-compiler. Regards, - Nimesh From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vikrant Yagnick S

RE: [rules-users] Compatibility of Rule Flows from 4.0.7 to 5.0.0

2008-10-03 Thread Nimesh Muley
Hi, I have attached a file for translating rule flows from 4.0 to 5.0. I have tested my flows with the XSL and it works fine. However, the XSLT may not be quite slick or compact as I have touched upon XSLT after a long time. I have covered all the nodes available (ruleSet, start, end, join, spl

RE: [rules-users] Setting date during execution of rules.

2008-03-10 Thread Nimesh Muley
Hi Scott, Mark's reply has answered my question, but I feel I need to reply to this so that my use case was clear. I cannot use the promotion date in the rule definition because this rule is related to commission process based on premiums, targets etc for the agent. Promotion is a cross cuttin

RE: [rules-users] Setting date during execution of rules.

2008-03-05 Thread Nimesh Muley
I was not able to portray the right picture :(. Here's another shot at clarifying my situation. Let's say we have a commission rule as follows rule "Commission Calculation 07-08" date-effective "01-Apr-2007" date-expires "30-Mar-2008" when

[rules-users] Setting date during execution of rules.

2008-03-04 Thread Nimesh Muley
Hi, Is there a way to set the date while executing the rules? The effective dates would be checked against this date instead of today's date. By default the effective dates would be checked with System date. But in some cases we would need to execute the rules in a 'back-dated' mode. Use case.