[rules-users] Template Key in DSL

Michael Anstis michael.anstis at gmail.com
Thu Jan 5 08:20:58 EST 2012


Wolfgang,

I suspect the need arose from within Guvnor.

You can define a DSL sentence such "[then]Set the rate of interest to {rex}
= $loan.setRateOfInterest( {rex} )

Currently in Guvnor you can only enter literal values for DSL variables
whereas it'd be good to be able to specify {rex} as a template key so
multiple rules, based on DSLs, can be generated from the template data. I
am unsure if drools-expert Templates support interpolation of DSLs.

With kind regards,

Mike

On 5 January 2012 13:10, srinivasasanda <srinivasasanda at gmail.com> wrote:

> Thank you Manstis for quick response.
>
> Regards,
> Srinivas
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Template-Key-in-DSL-tp3634710p3634749.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20120105/10514e74/attachment.html 


More information about the rules-users mailing list