« Return to Thread: Can we do this with drools ?

Re: Can we do this with drools ?

by Mark Proctor :: Rate this Message:

Reply to Author | View in Thread

ferry97 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 ? 
  
http://docs.codehaus.org/display/MVEL/Templating+Guide


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@...
https://lists.jboss.org/mailman/listinfo/rules-users


    

  


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

 « Return to Thread: Can we do this with drools ?