You can't do this with [when] or [then] entries, but try [keyword]. It also works with parameters.
For instance: [keyword]precondition {title}=rule {title}\nsalience 100\nwhen -W On 26 October 2011 14:21, gcautiero <gianfranco.cauti...@truvo.com> wrote: > Hello, > > I'm not able to find a way to define in my DSL a phrase to add metadata for > a certain rule. > I'm interested to provide something that can help end user to add > data-effective metadata for some rule in the DSLR file. > > -- > View this message in context: > http://drools.46999.n3.nabble.com/dsl-and-metadata-rule-information-tp3454282p3454282.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users >
_______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users