There are some undocumented classes in drools-decisiontables that should let you do this. Have a look at DataProviderCompilerIntegrationTest.java
cheers
Steve
Thanks Mark for the info.
Could you show me how to do it using mvel ? or refer me a link that
explaining all this ?
--Mark 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
> 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.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users