[rules-users] Hibernate session and 'from'

2011-04-07 Thread Gareth Evans
Hello,

I am using Hibernate lazy loading in the facts I am inserting and am
noticing some odd behaviour when I use 'from'.

Here is a simplified example of my problem. In the first rule I just
want to populate the working memory with the Child objects, it uses
Hibernate lazy loading fine and inserts the facts, however in the
second rule I get an exception when accessing the GrandGrandChild
saying that the object does not have a session. If I add some debug
code to the first rule to access the GrandGrandChild I get the same
error.

This is using session-per-request and the Parent object was inserted
in the current session.

rule "get children - broken"
   when
   $parent : Parent( )
   $child : Child( ) from $parent.children
   then
   insert($child);
end

rule "do stuff"
   when
   $child : Child( )
   then
   GrandChild grandChild = $child.getGrandChild();
   # it blows up on the next line
   GrandGrandChild grandGrandChild =
grandChild.getGrandGrandChild();
end

If I replace the first rule with the following everything works as
expected and I can match on Child objects and access whatever I wish,
so I know there should be a session available in the "do stuff" rule.

rule "get children - working"
   when
   $parent : Parent( )
   then
   for(Child child : $parent.getChildren()) {
   insert(child);
   }
end

I am able to use the "working" version in my code however the "broken"
version seems like the more correct way to do this in Drools. I'd like
to understand what is going on in case it is my fault or an issue I
need to be aware of. Could it be something to do with the from keyword
or the "cast" to Child( )? Is there some "magic" done in Drools which
could remove/invalidate the Hibernate proxy?

Thanks,
Gareth
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Help needed in configuring drools guvnor with MySql

2011-04-07 Thread Nicolas Héron
Hello,
and does your procedure work for Postgres ?
Thanks
Nicolas

-
Nicolas Héron
--
View this message in context: 
http://drools.46999.n3.nabble.com/Help-needed-in-configuring-drools-guvnor-with-MySql-tp844676p2791862.html
Sent from the Drools: User forum mailing list archive at Nabble.com.

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Combination of conditions doesn't work

2011-04-07 Thread FrankVhh
Yes, thanks Manstis. I am already informing myself as we speak :-).


manstis wrote:
> 
> @FrankVhh
> 
> Entry-points are used with CEP; you'll find details in the Fusion
> documetation.
> 
> With kind regards,
> 
> Mike
> 
> On 7 April 2011 15:21, FrankVhh 
> wrote:
> 
>> Hi Sariman,
>>
>> The trick with "from entry-point", is quite unfamiliar to me. There might
>> be
>> some problem with that, but I cannot tell by looking at it.
>>
>> However, there are a few problems with the rules that you have printed
>> out
>> for us.
>>
>> 1) The way I understand it, they do not do what they should be doing. You
>> said you do NOT want an action when all sensors evaluate to true. In your
>> case, you are evaluateing whether all sensors are false. This is pretty
>> useless if you already have a rule which evaluates the existence of at
>> least
>> 1 "true" sensor. The way I would put this is like this:
>>
>> rule "Myrule"
>>when
>>#conditions
>>sensorEvent1: SensorEvent(booleanValue == true)
>>exists( SensorEvent(booleanValue == false) )
>>then
>>#actions
>> end
>>
>> 2) There are some errors in your rule. No idea whether this is a
>> copy/paste
>> or a read/type, so I will just point them out.
>>- ";" is usually not needed in a LHS, I am not familiar with the from
>> entry-point syntax, but I assume it wouldn't be needed
>>- There is a ")" in excess in one of your conditions
>>
>> 3) I don't think it makes sense to put your rules as you did in the
>> second
>> example. Even if you are trying to examine whether those three sensors
>> are
>> false.
>>
>> On a personal note: what does from entry-point do? I must have overlooked
>> it
>> in the documentation.
>>
>> Regards,
>> Frank
>>
>>
>> sariman wrote:
>> >
>> > To keep it short, I have three sensors providing me some values every x
>> > seconds. I am running an algorithm over those values and getting at the
>> > end a single value for each sensor. Next I check if this value is
>> > greater/less than a threshold value and creating an object and setting
>> its
>> > booelan value to true/false. The last part looks like this:
>> >
>> > SensorEvent sensorEvent = new SensorEvent ();
>> >   sensorEvent.setBoolean(booleanValue);
>> >   sensorEvent.setSensorID(sensorID);
>> >
>> > I want to do some actions if one of the sensors has "true" and this
>> works.
>> > But I want no action if all sensors have "true". And this part doens't
>> > work. If I only check one of the sensors if it is "false" it is ok but
>> the
>> > combination doesn't work. It means this case seems naver to happen. No
>> > exception or error but no system print either. Here is the code snippet
>> > from my rules file:
>> >
>> > declare SensorEvent
>> >   @role(event)
>> > end
>> >
>> >
>> > rule "All false"
>> >
>> >   when
>> >   #conditions
>> >   sensorEvent1: SensorEvent(sensorID == 1 ,
>> booleanValue
>> == false)from
>> > entry-point "Default";
>> >   sensorEvent2: SensorEvent(sensorID == 5 ,
>> booleanValue
>> == false) )  from
>> > entry-point "Default";
>> >   sensorEvent3: SensorEvent(sensorID == 6 ,
>> booleanValue
>> == false)from
>> > entry-point "Default";
>> >
>> >   then
>> >   #actions
>> >   System.out.println(" All false!! -> ");
>> >
>> > end
>> >
>> >
>> > I run the engine in stream mode and every single value (or object) is
>> > being inserted after I receieved the value. I also tried this variant
>> but
>> > it didn't work either:
>> >
>> > rule "All false"
>> >
>> >   when
>> >   #conditions
>> >   sensorEvent1: SensorEvent(sensorID == 1 )   from
>> entry-point "Default";
>> >   sensorEvent2: SensorEvent(sensorID == 5 )   from
>> entry-point "Default";
>> >   sensorEvent3: SensorEvent(sensorID == 6 ,
>> booleanValue
>> == false &&
>> > sensorEvent1.booleanValue == false && sensorEvent2.booleanValue ==
>> false))
>> > from entry-point "Default";
>> >
>> >   then
>> >   #actions
>> >   System.out.println(" All false!! -> ");
>> >
>> > end
>> >
>> > Any suggestions?
>> >
>>
>>
>> --
>> View this message in context:
>> http://drools-drools-expert-drools-fusion-guvnor-drools-planner.46999.n3.nabble.com/Combination-of-conditions-doesn-t-work-tp2789735p2790446.html
>> Sent from the Drools: User forum mailing list archive at Nabble.com.
>> ___
>> rules-users mailing list
>> rules-users@lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
> 
> ___
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
> 


--
View this message in context: 
http://drools-drools-expert-drools-fusion-guvnor-drools

Re: [rules-users] Combination of conditions doesn't work

2011-04-07 Thread Michael Anstis
@FrankVhh

Entry-points are used with CEP; you'll find details in the Fusion
documetation.

With kind regards,

Mike

On 7 April 2011 15:21, FrankVhh  wrote:

> Hi Sariman,
>
> The trick with "from entry-point", is quite unfamiliar to me. There might
> be
> some problem with that, but I cannot tell by looking at it.
>
> However, there are a few problems with the rules that you have printed out
> for us.
>
> 1) The way I understand it, they do not do what they should be doing. You
> said you do NOT want an action when all sensors evaluate to true. In your
> case, you are evaluateing whether all sensors are false. This is pretty
> useless if you already have a rule which evaluates the existence of at
> least
> 1 "true" sensor. The way I would put this is like this:
>
> rule "Myrule"
>when
>#conditions
>sensorEvent1: SensorEvent(booleanValue == true)
>exists( SensorEvent(booleanValue == false) )
>then
>#actions
> end
>
> 2) There are some errors in your rule. No idea whether this is a copy/paste
> or a read/type, so I will just point them out.
>- ";" is usually not needed in a LHS, I am not familiar with the from
> entry-point syntax, but I assume it wouldn't be needed
>- There is a ")" in excess in one of your conditions
>
> 3) I don't think it makes sense to put your rules as you did in the second
> example. Even if you are trying to examine whether those three sensors are
> false.
>
> On a personal note: what does from entry-point do? I must have overlooked
> it
> in the documentation.
>
> Regards,
> Frank
>
>
> sariman wrote:
> >
> > To keep it short, I have three sensors providing me some values every x
> > seconds. I am running an algorithm over those values and getting at the
> > end a single value for each sensor. Next I check if this value is
> > greater/less than a threshold value and creating an object and setting
> its
> > booelan value to true/false. The last part looks like this:
> >
> > SensorEvent sensorEvent = new SensorEvent ();
> >   sensorEvent.setBoolean(booleanValue);
> >   sensorEvent.setSensorID(sensorID);
> >
> > I want to do some actions if one of the sensors has "true" and this
> works.
> > But I want no action if all sensors have "true". And this part doens't
> > work. If I only check one of the sensors if it is "false" it is ok but
> the
> > combination doesn't work. It means this case seems naver to happen. No
> > exception or error but no system print either. Here is the code snippet
> > from my rules file:
> >
> > declare SensorEvent
> >   @role(event)
> > end
> >
> >
> > rule "All false"
> >
> >   when
> >   #conditions
> >   sensorEvent1: SensorEvent(sensorID == 1 , booleanValue
> == false)from
> > entry-point "Default";
> >   sensorEvent2: SensorEvent(sensorID == 5 , booleanValue
> == false) )  from
> > entry-point "Default";
> >   sensorEvent3: SensorEvent(sensorID == 6 , booleanValue
> == false)from
> > entry-point "Default";
> >
> >   then
> >   #actions
> >   System.out.println(" All false!! -> ");
> >
> > end
> >
> >
> > I run the engine in stream mode and every single value (or object) is
> > being inserted after I receieved the value. I also tried this variant but
> > it didn't work either:
> >
> > rule "All false"
> >
> >   when
> >   #conditions
> >   sensorEvent1: SensorEvent(sensorID == 1 )   from
> entry-point "Default";
> >   sensorEvent2: SensorEvent(sensorID == 5 )   from
> entry-point "Default";
> >   sensorEvent3: SensorEvent(sensorID == 6 , booleanValue
> == false &&
> > sensorEvent1.booleanValue == false && sensorEvent2.booleanValue ==
> false))
> > from entry-point "Default";
> >
> >   then
> >   #actions
> >   System.out.println(" All false!! -> ");
> >
> > end
> >
> > Any suggestions?
> >
>
>
> --
> View this message in context:
> http://drools-drools-expert-drools-fusion-guvnor-drools-planner.46999.n3.nabble.com/Combination-of-conditions-doesn-t-work-tp2789735p2790446.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> ___
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Combination of conditions doesn't work

2011-04-07 Thread FrankVhh
Hi Sariman,

The trick with "from entry-point", is quite unfamiliar to me. There might be
some problem with that, but I cannot tell by looking at it.

However, there are a few problems with the rules that you have printed out
for us.

1) The way I understand it, they do not do what they should be doing. You
said you do NOT want an action when all sensors evaluate to true. In your
case, you are evaluateing whether all sensors are false. This is pretty
useless if you already have a rule which evaluates the existence of at least
1 "true" sensor. The way I would put this is like this:

rule "Myrule"
when
#conditions
sensorEvent1: SensorEvent(booleanValue == true)
exists( SensorEvent(booleanValue == false) )
then 
#actions
end

2) There are some errors in your rule. No idea whether this is a copy/paste
or a read/type, so I will just point them out.
- ";" is usually not needed in a LHS, I am not familiar with the from
entry-point syntax, but I assume it wouldn't be needed
- There is a ")" in excess in one of your conditions

3) I don't think it makes sense to put your rules as you did in the second
example. Even if you are trying to examine whether those three sensors are
false.

On a personal note: what does from entry-point do? I must have overlooked it
in the documentation.

Regards,
Frank


sariman wrote:
> 
> To keep it short, I have three sensors providing me some values every x
> seconds. I am running an algorithm over those values and getting at the
> end a single value for each sensor. Next I check if this value is
> greater/less than a threshold value and creating an object and setting its
> booelan value to true/false. The last part looks like this:
> 
> SensorEvent sensorEvent = new SensorEvent ();
>   sensorEvent.setBoolean(booleanValue);
>   sensorEvent.setSensorID(sensorID);
> 
> I want to do some actions if one of the sensors has "true" and this works.
> But I want no action if all sensors have "true". And this part doens't
> work. If I only check one of the sensors if it is "false" it is ok but the
> combination doesn't work. It means this case seems naver to happen. No
> exception or error but no system print either. Here is the code snippet
> from my rules file:
> 
> declare SensorEvent
>   @role(event)
> end
> 
> 
> rule "All false"
> 
>   when
>   #conditions
>   sensorEvent1: SensorEvent(sensorID == 1 , booleanValue == 
> false)from
> entry-point "Default";
>   sensorEvent2: SensorEvent(sensorID == 5 , booleanValue == 
> false) )  from
> entry-point "Default";
>   sensorEvent3: SensorEvent(sensorID == 6 , booleanValue == 
> false)from
> entry-point "Default";
>   
>   then 
>   #actions
>   System.out.println(" All false!! -> ");
> 
> end
> 
> 
> I run the engine in stream mode and every single value (or object) is
> being inserted after I receieved the value. I also tried this variant but
> it didn't work either:
> 
> rule "All false"
> 
>   when
>   #conditions
>   sensorEvent1: SensorEvent(sensorID == 1 )   from 
> entry-point "Default";
>   sensorEvent2: SensorEvent(sensorID == 5 )   from 
> entry-point "Default";
>   sensorEvent3: SensorEvent(sensorID == 6 , booleanValue == 
> false &&
> sensorEvent1.booleanValue == false && sensorEvent2.booleanValue == false))
> from entry-point "Default";
>   
>   then 
>   #actions
>   System.out.println(" All false!! -> ");
> 
> end
> 
> Any suggestions?
> 


--
View this message in context: 
http://drools-drools-expert-drools-fusion-guvnor-drools-planner.46999.n3.nabble.com/Combination-of-conditions-doesn-t-work-tp2789735p2790446.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] difference between jBPM and drools?

2011-04-07 Thread Esteban Aliverti
Drools Flow was separated from drools trunk and re-branded (with additional
modifications) to jBPM5. So, drools code 2 will not contain Drools Flow. If
you want to use Flow, then just go to jBPM5.

Best Regards,



Esteban Aliverti
- Developer @ http://www.plugtree.com
- Blog @ http://ilesteban.wordpress.com


On Thu, Apr 7, 2011 at 6:48 AM, Geoffrey De Smet wrote:

> https://issues.jboss.org/browse/JBPM
>
> Op 07-04-11 10:25, alan.gai...@tessella.com schreef:
> >
> > So to clarify, does Drools 5.2 contain Drools Flow any longer, or has
> > this been superceded by jBPM 5? If I wish to submit feature requests,
> > bugs etc., is there a separate issue tracker for jBPM 5?
> >
> > Thanks,
> >
> > Alan
> >
> >
> >
> > *Mark Proctor *
> > Sent by: rules-users-boun...@lists.jboss.org
> >
> > 06/04/2011 22:43
> > Please respond to
> > Rules Users List 
> >
> >
> >
> > To
> >   rules-users@lists.jboss.org
> > cc
> >
> > Subject
> >   Re: [rules-users] difference between jBPM and drools?
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > On 06/04/2011 22:34, Mauricio Salatino wrote:
> > It's the same thing, you can use jBPM5. because Drools Flow and jBPM4
> > are abandoned right now.
> > Greetings
> > Abandoned isn't the best word.  jBPM5 is the successor of the two
> > projects, incorporating aspects of both. It is mostly, if not
> > entirely, api compatible with drools flow.
> >
> > Mark
> >
> > 2011/4/6 <_Stephan.Koops@we4it.com_ >
> > Hi,
> >
> > I don't find much about the difference between jBPM and drools flow,
> > only that jBPM is the official one
> > (_http://www.jboss.org/drools/drools-flow#Drools_Flow_and_jBPM_, first
> > paragraph of the section) and rethinked. I'm interested for the
> > practical site.
> >
> > Can anybody tell me about the advantages or disadvantages? What are
> > the main points to decide which one to use?
> > Maybe I missed a blog entry or something like that, but I don't find
> > more. A pointer or something else would be nice.
> >
> > Thanks in advance.
> >
> > Mit freundlichen Grüssen/Best regards
> >
> > i. A.
> > Stephan Koops
> > Software Engineer
> > We4IT GmbH
> >
> > *
> > 
> > Sie wollen aktuelle Informationen zu Lotus-Produkten? Dann besuchen
> > Sie unseren Blog:
> > _
> > __http://www.lotus-notes-domino-blog.de_
> > *
> > 
> >
> >
> > We4IT GmbH
> > Technologiepark 11
> > 33100 Paderborn
> >
> > Tel: +49 5251 / 70993 - 24
> > Fax: +49 5251 / 70993 - 01
> > Mobil:
> > E-Mail: _stephan.koops@we4it.com_ 
> >
> > Internet: _http://www.we4it.com_ 
> >
> > HRB 20740, Amtsgericht Bremen
> > Geschäftsführer: Stefan Sucker, Vicente Diaz Fernandez
> > USt.-ID.-Nr. DE 220 859 831
> >
> > Diese Nachricht ist vertraulich und ausschließlich für die adressierte
> > Person und/oder Organisation bestimmt. Vertrauliche und/oder
> > spezifische Informationen können hierin enthalten sein. Falls Sie ein
> > nicht beabsichtigter Empfänger dieser Nachricht sind, sind das
> > Kopieren, Verteilen und/oder das Aufnehmen aus dem Inhalt
> > resultierender Handlungen untersagt. Haben Sie diese Nachricht
> > fehlerhaft und/oder unvollständig erhalten, benachrichtigen Sie uns
> > bitte umgehend unter unseren oben genannten Kontaktmöglichkeiten.
> > This message is confidential and intended solely for the person or
> > organization to which it is addressed. It may contain privileged and
> > confidential information. If you are not the intended recipient, you
> > should not copy, distribute or take any action on reliance on it. If
> > you have received this transmission in error, please notify us
> > immediately by e-mail at the above address.
> > ___
> > rules-users mailing list_
> > __rules-users@lists.jboss.org_ _
> > __https://lists.jboss.org/mailman/listinfo/rules-users_
> >
> >
> >
> >
> > --
> > - CTO @ _http://www.plugtree.com_ 
> > - MyJourney @ _http://salaboy.wordpress.com_
> > 
> > - Co-Founder @ _http://www.jbug.com.ar_ 
> >
> > - Salatino "Salaboy" Mauricio -
> >
> >
> > ___
> > rules-users mailing list
> > _rules-users@lists.jboss.org_ 
> > _https://lists.jboss.org/mailman/listinfo/rules-users_
> >
> > ___
> > rules-users mailing list
> > rules-users@lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/rules-users
> >
> >
> > ___
> > rules-users mailing list
> > rules-users@lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/rules-users
>
> --
> With kind regards,
> Geoffrey De Smet
>

Re: [rules-users] difference between jBPM and drools?

2011-04-07 Thread Geoffrey De Smet
https://issues.jboss.org/browse/JBPM

Op 07-04-11 10:25, alan.gai...@tessella.com schreef:
>
> So to clarify, does Drools 5.2 contain Drools Flow any longer, or has 
> this been superceded by jBPM 5? If I wish to submit feature requests, 
> bugs etc., is there a separate issue tracker for jBPM 5?
>
> Thanks,
>
> Alan
>
>
>
> *Mark Proctor *
> Sent by: rules-users-boun...@lists.jboss.org
>
> 06/04/2011 22:43
> Please respond to
> Rules Users List 
>
>
>   
> To
>   rules-users@lists.jboss.org
> cc
>   
> Subject
>   Re: [rules-users] difference between jBPM and drools?
>
>
>
>   
>
>
>
>
>
> On 06/04/2011 22:34, Mauricio Salatino wrote:
> It's the same thing, you can use jBPM5. because Drools Flow and jBPM4 
> are abandoned right now.
> Greetings
> Abandoned isn't the best word.  jBPM5 is the successor of the two 
> projects, incorporating aspects of both. It is mostly, if not 
> entirely, api compatible with drools flow.
>
> Mark
>
> 2011/4/6 <_Stephan.Koops@we4it.com_ >
> Hi,
>
> I don't find much about the difference between jBPM and drools flow, 
> only that jBPM is the official one 
> (_http://www.jboss.org/drools/drools-flow#Drools_Flow_and_jBPM_, first 
> paragraph of the section) and rethinked. I'm interested for the 
> practical site.
>
> Can anybody tell me about the advantages or disadvantages? What are 
> the main points to decide which one to use?
> Maybe I missed a blog entry or something like that, but I don't find 
> more. A pointer or something else would be nice.
>
> Thanks in advance.
>
> Mit freundlichen Grüssen/Best regards
>
> i. A.
> Stephan Koops
> Software Engineer
> We4IT GmbH
>
> *
> 
> Sie wollen aktuelle Informationen zu Lotus-Produkten? Dann besuchen 
> Sie unseren Blog:
> _
> __http://www.lotus-notes-domino-blog.de_ 
> *
> 
>
>
> We4IT GmbH
> Technologiepark 11
> 33100 Paderborn
>
> Tel: +49 5251 / 70993 - 24
> Fax: +49 5251 / 70993 - 01
> Mobil:
> E-Mail: _stephan.koops@we4it.com_ 
>
> Internet: _http://www.we4it.com_ 
>
> HRB 20740, Amtsgericht Bremen
> Geschäftsführer: Stefan Sucker, Vicente Diaz Fernandez
> USt.-ID.-Nr. DE 220 859 831
>
> Diese Nachricht ist vertraulich und ausschließlich für die adressierte 
> Person und/oder Organisation bestimmt. Vertrauliche und/oder 
> spezifische Informationen können hierin enthalten sein. Falls Sie ein 
> nicht beabsichtigter Empfänger dieser Nachricht sind, sind das 
> Kopieren, Verteilen und/oder das Aufnehmen aus dem Inhalt 
> resultierender Handlungen untersagt. Haben Sie diese Nachricht 
> fehlerhaft und/oder unvollständig erhalten, benachrichtigen Sie uns 
> bitte umgehend unter unseren oben genannten Kontaktmöglichkeiten.
> This message is confidential and intended solely for the person or 
> organization to which it is addressed. It may contain privileged and 
> confidential information. If you are not the intended recipient, you 
> should not copy, distribute or take any action on reliance on it. If 
> you have received this transmission in error, please notify us 
> immediately by e-mail at the above address.
> ___
> rules-users mailing list_
> __rules-users@lists.jboss.org_ _
> __https://lists.jboss.org/mailman/listinfo/rules-users_
>
>
>
>
> -- 
> - CTO @ _http://www.plugtree.com_ 
> - MyJourney @ _http://salaboy.wordpress.com_ 
> 
> - Co-Founder @ _http://www.jbug.com.ar_ 
>
> - Salatino "Salaboy" Mauricio -
>
>
> ___
> rules-users mailing list
> _rules-users@lists.jboss.org_ 
> _https://lists.jboss.org/mailman/listinfo/rules-users_
>
> ___
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
> ___
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users

-- 
With kind regards,
Geoffrey De Smet


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Help with Accumulate function

2011-04-07 Thread Dwipin C
Thanks Wolfgang. 

The issue here is that the accumulation has to happen at a higher level in
the object hierarchy, "Position" in this case. However, this is no direct
link between Position and PostitionPnlAttributionAmount ( which is being
accumulated). How do I tackle such a scenario?

$attibAmtType will be just one for the condition given, but there could be 
multiple $posPnlAmt within a Position. 

Thanks,
Dwipin



From:
Wolfgang Laun 
To:
Rules Users List 
Date:
04/07/2011 02:08 PM
Subject:
Re: [rules-users] Help with Accumulate function
Sent by:
rules-users-boun...@lists.jboss.org



Well, this explains it - you'll have to find the selecting combination
of $posPnlAmt and $attibAmtType in a unique way, assuming there is
just one such combination.

-W




2011/4/7 Dwipin C 
>
> Without the accumulate function, following is the fire occurrence-
>
> $position : Position() - 2
> $posScn : PositionScenario(scenario == 'SCEN-EOD', position == $position 
) - 2 ( with all above facts)
> $posScnGrp : PositionScenarioCurrencyGroup(positionScenario == $posScn, 
currencyType == CurrencyTypes.TRANSACTIONAL) - 2 ( with all above facts)
> $posPnlAmt : PositionPnlAmount(pnlAmountType == "DTD", 
positionScenarioCurrencyGroup == $posScnGrp) - 3 ( with all above facts)
>
> $attibAmtType : AttributionAmountType(attributionAmountType == 
"UNEXPLAINED/RESIDUALPNL") - 2 (just this fact)
>
> All of them together without the accumulate fires it 6 times.
>
>
> Dwipin
>
>
>
> From: Wolfgang Laun 
> To: Rules Users List 
> Date: 04/07/2011 01:16 PM
> Subject: Re: [rules-users] Help with Accumulate function
> Sent by: rules-users-boun...@lists.jboss.org
> 
>
>
> Repeated firing may be due to there being more than one scope for 
accumulating
> the sum, as selected by the patterns leading up to the accumulate.
>
> If you take only the patterns preceding the accumulate - how often does 
this fire and for which elements? You need a single combination of 
$posPnlAm and $attibAmtType.
>
> -W
>
>
> On 7 April 2011 08:44, dwipin  wrote:
> Hi,
>  I am having trouble implementing this rule with the accumulate 
function.
> My rule requirement is -
> Aggregate all PnlAttributionAmounts with a type of "UNEXPLAINED" for all
> Positions for a given day.
>
> Below is the code I have for this -
>
> $position : Position(date == $currDate)
> $posScn : PositionScenario(scenario == 'SCEN-EOD', position == $position 
)
> $posScnGrp : PositionScenarioCurrencyGroup(positionScenario == $posScn,
> currencyType == CurrencyTypes.TRANSACTIONAL)
> $posPnlAmt : PositionPnlAmount(pnlAmountType == "DTD",
> positionScenarioCurrencyGroup == $posScnGrp)
> $attibAmtType : AttributionAmountType(attributionAmountType ==
> "UNEXPLAINED/RESIDUALPNL")
>
> $totalPnlAttibAmt : BigDecimal()
>from accumulate(
>PositionPnlAttributionAmount(positionPnlAmount ==
> $posPnlAmt, attributionAmountType == $attibAmtType, $pnlAttibAmt :
> financialValue)
>,sum($pnlAttibAmt)
>)
>
> eval ($totalPnlAttibAmt > 1000)
>
> When I do it this way, the rule gets executed 6 times, basically for 
every
> fact that evaluated to true. How do I restrict this? The rule should be
> executed only if the final eval results in true.
>
> Thanks for any help,
> Dwipin.
>
>
> --
> View this message in context: 
http://drools-java-rules-engine.46999.n3.nabble.com/Help-with-Accumulate-function-tp2789194p2789194.html

> Sent from the Drools - User mailing list archive at Nabble.com.
> ___
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
> ___
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
> =-=-=
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain
> confidential or privileged information. If you are
> not the intended recipient, any dissemination, use,
> review, distribution, printing or copying of the
> information contained in this e-mail message
> and/or attachments to it are strictly prohibited. If
> you have received this communication in error,
> please notify us by reply e-mail or telephone and
> immediately and permanently delete the message
> and any attachments. Thank you
>
>
>
> ___
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


=-=-=
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, prin

Re: [rules-users] Help with Accumulate function

2011-04-07 Thread Wolfgang Laun
One way to exclude siblings for a fact X is to use a constraint such
as "there is no other X with an identifying, comparable id < than the
only one I want".

  X( $id: id, $interesting: interesting )
  not X( id < $id )

-W


On 7 April 2011 10:37, Wolfgang Laun  wrote:
> Well, this explains it - you'll have to find the selecting combination
> of $posPnlAmt and $attibAmtType in a unique way, assuming there is
> just one such combination.
>
> -W
>
>
>
>
> 2011/4/7 Dwipin C 
>>
>> Without the accumulate function, following is the fire occurrence-
>>
>> $position : Position() - 2
>> $posScn : PositionScenario(scenario == 'SCEN-EOD', position == $position ) - 
>> 2 ( with all above facts)
>> $posScnGrp : PositionScenarioCurrencyGroup(positionScenario == $posScn, 
>> currencyType == CurrencyTypes.TRANSACTIONAL) - 2 ( with all above facts)
>> $posPnlAmt : PositionPnlAmount(pnlAmountType == "DTD", 
>> positionScenarioCurrencyGroup == $posScnGrp) - 3 ( with all above facts)
>>
>> $attibAmtType : AttributionAmountType(attributionAmountType == 
>> "UNEXPLAINED/RESIDUALPNL") - 2 (just this fact)
>>
>> All of them together without the accumulate fires it 6 times.
>>
>>
>> Dwipin
>>
>>
>>
>> From: Wolfgang Laun 
>> To: Rules Users List 
>> Date: 04/07/2011 01:16 PM
>> Subject: Re: [rules-users] Help with Accumulate function
>> Sent by: rules-users-boun...@lists.jboss.org
>> 
>>
>>
>> Repeated firing may be due to there being more than one scope for 
>> accumulating
>> the sum, as selected by the patterns leading up to the accumulate.
>>
>> If you take only the patterns preceding the accumulate - how often does this 
>> fire and for which elements? You need a single combination of $posPnlAm and 
>> $attibAmtType.
>>
>> -W
>>
>>
>> On 7 April 2011 08:44, dwipin  wrote:
>> Hi,
>>  I am having trouble implementing this rule with the accumulate function.
>> My rule requirement is -
>> Aggregate all PnlAttributionAmounts with a type of "UNEXPLAINED" for all
>> Positions for a given day.
>>
>> Below is the code I have for this -
>>
>> $position : Position(date == $currDate)
>> $posScn : PositionScenario(scenario == 'SCEN-EOD', position == $position )
>> $posScnGrp : PositionScenarioCurrencyGroup(positionScenario == $posScn,
>> currencyType == CurrencyTypes.TRANSACTIONAL)
>> $posPnlAmt : PositionPnlAmount(pnlAmountType == "DTD",
>> positionScenarioCurrencyGroup == $posScnGrp)
>> $attibAmtType : AttributionAmountType(attributionAmountType ==
>> "UNEXPLAINED/RESIDUALPNL")
>>
>> $totalPnlAttibAmt : BigDecimal()
>>        from accumulate(
>>                PositionPnlAttributionAmount(positionPnlAmount ==
>> $posPnlAmt, attributionAmountType == $attibAmtType, $pnlAttibAmt :
>> financialValue)
>>                ,sum($pnlAttibAmt)
>>        )
>>
>> eval ($totalPnlAttibAmt > 1000)
>>
>> When I do it this way, the rule gets executed 6 times, basically for every
>> fact that evaluated to true. How do I restrict this? The rule should be
>> executed only if the final eval results in true.
>>
>> Thanks for any help,
>> Dwipin.
>>
>>
>> --
>> View this message in context: 
>> http://drools-java-rules-engine.46999.n3.nabble.com/Help-with-Accumulate-function-tp2789194p2789194.html
>> Sent from the Drools - User mailing list archive at Nabble.com.
>> ___
>> rules-users mailing list
>> rules-users@lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>> ___
>> rules-users mailing list
>> rules-users@lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>>
>> =-=-=
>> Notice: The information contained in this e-mail
>> message and/or attachments to it may contain
>> confidential or privileged information. If you are
>> not the intended recipient, any dissemination, use,
>> review, distribution, printing or copying of the
>> information contained in this e-mail message
>> and/or attachments to it are strictly prohibited. If
>> you have received this communication in error,
>> please notify us by reply e-mail or telephone and
>> immediately and permanently delete the message
>> and any attachments. Thank you
>>
>>
>>
>> ___
>> rules-users mailing list
>> rules-users@lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Help with Accumulate function

2011-04-07 Thread Wolfgang Laun
Well, this explains it - you'll have to find the selecting combination
of $posPnlAmt and $attibAmtType in a unique way, assuming there is
just one such combination.

-W




2011/4/7 Dwipin C 
>
> Without the accumulate function, following is the fire occurrence-
>
> $position : Position() - 2
> $posScn : PositionScenario(scenario == 'SCEN-EOD', position == $position ) - 
> 2 ( with all above facts)
> $posScnGrp : PositionScenarioCurrencyGroup(positionScenario == $posScn, 
> currencyType == CurrencyTypes.TRANSACTIONAL) - 2 ( with all above facts)
> $posPnlAmt : PositionPnlAmount(pnlAmountType == "DTD", 
> positionScenarioCurrencyGroup == $posScnGrp) - 3 ( with all above facts)
>
> $attibAmtType : AttributionAmountType(attributionAmountType == 
> "UNEXPLAINED/RESIDUALPNL") - 2 (just this fact)
>
> All of them together without the accumulate fires it 6 times.
>
>
> Dwipin
>
>
>
> From: Wolfgang Laun 
> To: Rules Users List 
> Date: 04/07/2011 01:16 PM
> Subject: Re: [rules-users] Help with Accumulate function
> Sent by: rules-users-boun...@lists.jboss.org
> 
>
>
> Repeated firing may be due to there being more than one scope for accumulating
> the sum, as selected by the patterns leading up to the accumulate.
>
> If you take only the patterns preceding the accumulate - how often does this 
> fire and for which elements? You need a single combination of $posPnlAm and 
> $attibAmtType.
>
> -W
>
>
> On 7 April 2011 08:44, dwipin  wrote:
> Hi,
>  I am having trouble implementing this rule with the accumulate function.
> My rule requirement is -
> Aggregate all PnlAttributionAmounts with a type of "UNEXPLAINED" for all
> Positions for a given day.
>
> Below is the code I have for this -
>
> $position : Position(date == $currDate)
> $posScn : PositionScenario(scenario == 'SCEN-EOD', position == $position )
> $posScnGrp : PositionScenarioCurrencyGroup(positionScenario == $posScn,
> currencyType == CurrencyTypes.TRANSACTIONAL)
> $posPnlAmt : PositionPnlAmount(pnlAmountType == "DTD",
> positionScenarioCurrencyGroup == $posScnGrp)
> $attibAmtType : AttributionAmountType(attributionAmountType ==
> "UNEXPLAINED/RESIDUALPNL")
>
> $totalPnlAttibAmt : BigDecimal()
>        from accumulate(
>                PositionPnlAttributionAmount(positionPnlAmount ==
> $posPnlAmt, attributionAmountType == $attibAmtType, $pnlAttibAmt :
> financialValue)
>                ,sum($pnlAttibAmt)
>        )
>
> eval ($totalPnlAttibAmt > 1000)
>
> When I do it this way, the rule gets executed 6 times, basically for every
> fact that evaluated to true. How do I restrict this? The rule should be
> executed only if the final eval results in true.
>
> Thanks for any help,
> Dwipin.
>
>
> --
> View this message in context: 
> http://drools-java-rules-engine.46999.n3.nabble.com/Help-with-Accumulate-function-tp2789194p2789194.html
> Sent from the Drools - User mailing list archive at Nabble.com.
> ___
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
> ___
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
> =-=-=
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain
> confidential or privileged information. If you are
> not the intended recipient, any dissemination, use,
> review, distribution, printing or copying of the
> information contained in this e-mail message
> and/or attachments to it are strictly prohibited. If
> you have received this communication in error,
> please notify us by reply e-mail or telephone and
> immediately and permanently delete the message
> and any attachments. Thank you
>
>
>
> ___
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] xdrl fixes/enhancements

2011-04-07 Thread Veit Guna
No one?


> Any chance that this could be reviewed and maybe integrated into the
> release?
> 
> https://jira.jboss.org/browse/JBRULES-2672


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] difference between jBPM and drools?

2011-04-07 Thread Alan . Gairey
So to clarify, does Drools 5.2 contain Drools Flow any longer, or has this 
been superceded by jBPM 5? If I wish to submit feature requests, bugs 
etc., is there a separate issue tracker for jBPM 5?

Thanks,

Alan




Mark Proctor  
Sent by: rules-users-boun...@lists.jboss.org
06/04/2011 22:43
Please respond to
Rules Users List 


To
rules-users@lists.jboss.org
cc

Subject
Re: [rules-users] difference between jBPM and drools?






On 06/04/2011 22:34, Mauricio Salatino wrote: 
It's the same thing, you can use jBPM5. because Drools Flow and jBPM4 are 
abandoned right now.
Greetings
Abandoned isn't the best word.  jBPM5 is the successor of the two 
projects, incorporating aspects of both. It is mostly, if not entirely, 
api compatible with drools flow. 

Mark

2011/4/6 
Hi, 

I don't find much about the difference between jBPM and drools flow, only 
that jBPM is the official one (
http://www.jboss.org/drools/drools-flow#Drools_Flow_and_jBPM, first 
paragraph of the section) and rethinked. I'm interested for the practical 
site. 

Can anybody tell me about the advantages or disadvantages? What are the 
main points to decide which one to use? 
Maybe I missed a blog entry or something like that, but I don't find more. 
A pointer or something else would be nice. 

Thanks in advance. 

Mit freundlichen Grüssen/Best regards

i. A.
Stephan Koops
Software Engineer
We4IT GmbH


***
Sie wollen aktuelle Informationen zu Lotus-Produkten? Dann besuchen Sie 
unseren Blog:

http://www.lotus-notes-domino-blog.de
*** 


We4IT GmbH
Technologiepark 11
33100 Paderborn

Tel: +49 5251 / 70993 - 24
Fax: +49 5251 / 70993 - 01
Mobil: 
E-Mail: stephan.ko...@we4it.com

Internet: http://www.we4it.com

HRB 20740, Amtsgericht Bremen 
Geschäftsführer: Stefan Sucker, Vicente Diaz Fernandez
USt.-ID.-Nr. DE 220 859 831

Diese Nachricht ist vertraulich und ausschließlich für die adressierte 
Person und/oder Organisation bestimmt. Vertrauliche und/oder spezifische 
Informationen können hierin enthalten sein. Falls Sie ein nicht 
beabsichtigter Empfänger dieser Nachricht sind, sind das Kopieren, 
Verteilen und/oder das Aufnehmen aus dem Inhalt resultierender Handlungen 
untersagt. Haben Sie diese Nachricht fehlerhaft und/oder unvollständig 
erhalten, benachrichtigen Sie uns bitte umgehend unter unseren oben 
genannten Kontaktmöglichkeiten.
This message is confidential and intended solely for the person or 
organization to which it is addressed. It may contain privileged and 
confidential information. If you are not the intended recipient, you 
should not copy, distribute or take any action on reliance on it. If you 
have received this transmission in error, please notify us immediately by 
e-mail at the above address.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users




-- 
 - CTO @ http://www.plugtree.com 
 - MyJourney @ http://salaboy.wordpress.com
 - Co-Founder @ http://www.jbug.com.ar
 
 - Salatino "Salaboy" Mauricio -


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Help with Accumulate function

2011-04-07 Thread dwipin
The issue here is that the accumulation has to happen at a higher level in
the object hierarchy, "Position" in this case. However, this is no direct
link between Position and PostitionPnlAttributionAmount ( which is being
accumulated). How do I tackle such a scenario?

Thanks,
Dwipin.

--
View this message in context: 
http://drools-java-rules-engine.46999.n3.nabble.com/Help-with-Accumulate-function-tp2789194p2789411.html
Sent from the Drools - User mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] mvn failed to install under drools-5.1.1-examples.zip

2011-04-07 Thread s.Daniel
As other new users will stumble upon this post like I did here a note
regarding svn: Drools has switched over to git and the old svn repository
is, whilse still working, not maintained any more. Here is the new git
repository: https://github.com/droolsjbpm


ps: I am not used to mailing lists so please let me know if I brake any
rules.

--
View this message in context: 
http://drools-java-rules-engine.46999.n3.nabble.com/mvn-failed-to-install-under-drools-5-1-1-examples-zip-tp1621638p2789383.html
Sent from the Drools - User mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Help with Accumulate function

2011-04-07 Thread Dwipin C
Without the accumulate function, following is the fire occurrence- 

$position : Position() - 2
$posScn : PositionScenario(scenario == 'SCEN-EOD', position == $position ) 
- 2 ( with all above facts)
$posScnGrp : PositionScenarioCurrencyGroup(positionScenario == $posScn, 
currencyType == CurrencyTypes.TRANSACTIONAL) - 2 ( with all above facts)
$posPnlAmt : PositionPnlAmount(pnlAmountType == "DTD", 
positionScenarioCurrencyGroup == $posScnGrp) - 3 ( with all above facts)

$attibAmtType : AttributionAmountType(attributionAmountType == 
"UNEXPLAINED/RESIDUALPNL") - 2 (just this fact)

All of them together without the accumulate fires it 6 times.


Dwipin




From:
Wolfgang Laun 
To:
Rules Users List 
Date:
04/07/2011 01:16 PM
Subject:
Re: [rules-users] Help with Accumulate function
Sent by:
rules-users-boun...@lists.jboss.org



Repeated firing may be due to there being more than one scope for 
accumulating
the sum, as selected by the patterns leading up to the accumulate.

If you take only the patterns preceding the accumulate - how often does 
this fire and for which elements? You need a single combination of 
$posPnlAm and $attibAmtType.

-W


On 7 April 2011 08:44, dwipin  wrote:
Hi,
 I am having trouble implementing this rule with the accumulate function.
My rule requirement is -
Aggregate all PnlAttributionAmounts with a type of "UNEXPLAINED" for all
Positions for a given day.

Below is the code I have for this -

$position : Position(date == $currDate)
$posScn : PositionScenario(scenario == 'SCEN-EOD', position == $position )
$posScnGrp : PositionScenarioCurrencyGroup(positionScenario == $posScn,
currencyType == CurrencyTypes.TRANSACTIONAL)
$posPnlAmt : PositionPnlAmount(pnlAmountType == "DTD",
positionScenarioCurrencyGroup == $posScnGrp)
$attibAmtType : AttributionAmountType(attributionAmountType ==
"UNEXPLAINED/RESIDUALPNL")

$totalPnlAttibAmt : BigDecimal()
   from accumulate(
   PositionPnlAttributionAmount(positionPnlAmount ==
$posPnlAmt, attributionAmountType == $attibAmtType, $pnlAttibAmt :
financialValue)
   ,sum($pnlAttibAmt)
   )

eval ($totalPnlAttibAmt > 1000)

When I do it this way, the rule gets executed 6 times, basically for every
fact that evaluated to true. How do I restrict this? The rule should be
executed only if the final eval results in true.

Thanks for any help,
Dwipin.


--
View this message in context: 
http://drools-java-rules-engine.46999.n3.nabble.com/Help-with-Accumulate-function-tp2789194p2789194.html

Sent from the Drools - User mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


=-=-=
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Help with Accumulate function

2011-04-07 Thread Wolfgang Laun
Repeated firing may be due to there being more than one scope for
accumulating
the sum, as selected by the patterns leading up to the accumulate.

If you take only the patterns preceding the accumulate - how often does this
fire and for which elements? You need a single combination of $posPnlAm and
$attibAmtType.

-W


On 7 April 2011 08:44, dwipin  wrote:

> Hi,
>  I am having trouble implementing this rule with the accumulate function.
> My rule requirement is -
> Aggregate all PnlAttributionAmounts with a type of "UNEXPLAINED" for all
> Positions for a given day.
>
> Below is the code I have for this -
>
> $position : Position(date == $currDate)
> $posScn : PositionScenario(scenario == 'SCEN-EOD', position == $position )
> $posScnGrp : PositionScenarioCurrencyGroup(positionScenario == $posScn,
> currencyType == CurrencyTypes.TRANSACTIONAL)
> $posPnlAmt : PositionPnlAmount(pnlAmountType == "DTD",
> positionScenarioCurrencyGroup == $posScnGrp)
> $attibAmtType : AttributionAmountType(attributionAmountType ==
> "UNEXPLAINED/RESIDUALPNL")
>
> $totalPnlAttibAmt : BigDecimal()
>from accumulate(
>PositionPnlAttributionAmount(positionPnlAmount ==
> $posPnlAmt, attributionAmountType == $attibAmtType, $pnlAttibAmt :
> financialValue)
>,sum($pnlAttibAmt)
>)
>
> eval ($totalPnlAttibAmt > 1000)
>
> When I do it this way, the rule gets executed 6 times, basically for every
> fact that evaluated to true. How do I restrict this? The rule should be
> executed only if the final eval results in true.
>
> Thanks for any help,
> Dwipin.
>
>
> --
> View this message in context:
> http://drools-java-rules-engine.46999.n3.nabble.com/Help-with-Accumulate-function-tp2789194p2789194.html
> Sent from the Drools - User mailing list archive at Nabble.com.
> ___
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users