Re: [rules-users] Using FROM in decision table

2013-06-30 Thread devan.vanree...@gmail.com
Thanks Wolfgang, we will possibly look at upgrading. -- View this message in context: http://drools.46999.n3.nabble.com/Using-FROM-in-decision-table-tp4024617p4024669.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-

Re: [rules-users] Using FROM in decision table

2013-06-28 Thread Wolfgang Laun
Upgrade. IIRC, serious improvements were done for 5.2.0 and, possibly, later on, too. 5.0.0 is *very* out of time. -W On 28 June 2013 15:31, devan.vanree...@gmail.com wrote: > Thanks for feedback. We are using an old version - 5.0.0. > > > > -- > View this message in context: > http://drools.469

Re: [rules-users] Using FROM in decision table

2013-06-28 Thread devan.vanree...@gmail.com
Thanks for feedback. We are using an old version - 5.0.0. -- View this message in context: http://drools.46999.n3.nabble.com/Using-FROM-in-decision-table-tp4024617p4024625.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ r

Re: [rules-users] Using FROM in decision table

2013-06-28 Thread Wolfgang Laun
I can't reproduce this effect, not with 5.5.0 or 5.4.0 -W On 28/06/2013, devan.vanree...@gmail.com wrote: > > > As per the attached image I have attempted to do this but still doing > something wrong as I am trying to evaluate id prop

Re: [rules-users] Using FROM in decision table

2013-06-28 Thread devan.vanree...@gmail.com
I have tried something I think to what you are suggesting but I am doing something wrong as the source does not generate correctly from the decision table getAllDocumentTypeList returns a collection of DocumentType and I am trying to

Re: [rules-users] Using FROM in decision table

2013-06-28 Thread devan.vanree...@gmail.com
As per the attached image I have attempted to do this but still doing something wrong as I am trying to evaluate id property on the DocumentType class but source generates incorrectly. it generates the below source 1.|

Re: [rules-users] Using FROM in decision table

2013-06-28 Thread Wolfgang Laun
Why don't you simply try something like this: ThisClass() from $somewhere as a condition? -W On 28/06/2013, devan.vanree...@gmail.com wrote: > Hi there, > > Would like to find out if it is possible to use the FROM keyword in > decision > tables, I cant seem to find any examples anywhere. I

[rules-users] Using FROM in decision table

2013-06-28 Thread devan.vanree...@gmail.com
Hi there, Would like to find out if it is possible to use the FROM keyword in decision tables, I cant seem to find any examples anywhere. I need to iterate over a collection from within a CONDITION in the decision table. Any help would be appreciated. Thanks Devan -- View this message in