[rules-users] Salience not being considered in DSL
Ingomar Otter
iotter at mac.com
Mon Aug 11 09:49:30 EDT 2008
Hello Harsh,
>The problem I am facing is that the salience specified in the drl is
not
>being used.
Please elaborate, this is a too general question. So the salience is
present in the generated drl?
Salience (by default) defines the execution order of those rules
which are activated (=their LHS is true). If rules changes facts which
causes other rules to activate (which is just fine) you may see a
different order of rules firing. A good way to understand what's
going on inside is the Audit View in Eclipse. Have/can you try this?
-Ingomar
Am 11.08.2008 um 11:26 schrieb Harsh Jetly:
>
> Hi ,
> I am using Drools version 4.0.4.
>
> I have created a dsl file for my drl ,I have set a salience for each
> rule .
> The problem I am facing is that the salience specified in the drl is
> not
> being used.
>
> Now when I use the drl without the dsl . Things work just fine and the
> salience is used .
>
> What should be done ?
>
>
>
> Regards
> Harsh Jetly
> SOA
> Center of Excellence
>
>
> Larsen & Toubro Infotech Ltd.
> www.Lntinfotech.com
>
> This Document is classified as:
>
> |------|
> | [X] |
> |------|L&T Infotech Proprietary |------|
> | [ ] |
> |------|L&T Infotech
> Confidential |------|
> |
> [ ] |
> |
> ------|
> L&T Infotech Internal Use Only |------|
> | [ ] |
> |------|L&T Infotech General Business
>
> This Email may contain confidential or privileged information for the
> intended recipient (s) If you are not the intended recipient, please
> do not
> use or disseminate the information, notify the sender and delete it
> from
> your system.
>
>
> ______________________________________________________________________
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
More information about the rules-users
mailing list