|
List Info
Thread: Can we do this with drools ?
|
|
| Can we do this with drools ? |
  United States |
2008-03-23 20:56:09 |
Hi,
I don't know how to ask this in words.
But can we do something like :
rule "define trx type"
when
Transaction(code == ${type1.code")
then
doSomething ....
So, we define the type.code in a properties file.
Thanks
--
View this message in context: http://www.nabble.com/Can-we-do-this-
with-drools---tp16244282p16244282.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: Can we do this with drools ? |

|
2008-03-27 18:32:02 |
|
There are some undocumented classes in drools-decisiontables that should let you do this. Have a look at DataProviderCompilerIntegrationTest.java
cheers Steve
On Tue, Mar 25, 2008 at 12:03 PM, ferry97 < vri_97  yahoo.com" target="_blank">vri_97 yahoo.com> wrote:
Thanks Mark for the info.
Could you show me how to do it using mvel ? or refer me a link that
explaining all this ?
Mar k Proctor wrote:
>
> ferry97 wrote:
>> Hi,
>> I don't know how to ask this in words.
>> But can we do something like :
>>
>> rule "define trx type"
>> when
>> Transaction(code == ${type1.code")
>>
> sorry no. But it's a nice idea, maybe submit a patch? You could probably
> do this yourself already if you use MVEL templating as a pre-parser.
>> then
>> doSomething ....
>>
>> So, we define the type.code in a properties file.
>> Thanks
>>
>
> _______________________________________________
> rules-users mailing list
> rules-users lists.jboss.org" target="_blank">rules-users lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
--
View this message in context: http://www.nabble.com/Can-we-do-this-with-drools---tp16244282p16266150.html
Sent from the drools - user mailing list archive at Nabble.com.
___ ____________________________________________
-- Steven Williams
Supervising Consultant
Object Consulting Office: 8615 4500 Mob: 0439 898 668 Fax: 8615 4501 steven.williams objectconsulting.com.au" target="_blank">steven.williams objectconsulting.com.au
www.objectconsulting.com.au
consulting | development | training | support our experience makes the difference
|
[1-2]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|