[rules-users] Using constant for salience instead of hardcoded values?

Wolfgang Laun wolfgang.laun at gmail.com
Wed May 4 04:20:30 EDT 2011


One way to achieve this (with a little extra effort) would be to use a
DSL where you define START etc. as keywords with an expansion
to "salience 100" etc.
-W

On 4 May 2011 10:09, alebu <aleboo at gmail.com> wrote:

> Hi all,
> Is it possible to use a constant for salience instead of hardcoded
> value? It have a sence when you have many rules and only several
> salience level. They maybe more descriptive like START, VALIDATION,
> etc and easier to maintain in the future. If it not possible right
> now, then maybe it worth to request like feature request in the
> future?
> _______________________________________________
> 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/20110504/c3c5d896/attachment.html 


More information about the rules-users mailing list