Ahem,...
2011/7/13 Michael Anstis <michael.anstis(a)gmail.com>
If you want to use a single XLS decision table then the answer is
still,
"no it's not possible".
If however you willing\able to use DRL then a world of opportunities is
opened to you.
I believe something like this will work - but wait to be corrected - laune?
;)
rule "specific 1"
when
SomeObject( someSpecificCriteria )
then
insert(new Result() );
end
rule "generic"
## ensure this fires only in the absence of any speficic-N rule
salience -100
-W
when
not Result( )
then
insert(new Result() );
end
You could (possibly) use two XLS decision tables where the two rules above
are effectively defined in each.
With kind regards,
Mike
On 13 July 2011 09:09, Syargey <Syargey(a)tut.by> wrote:
> First I wanted to add parameters from "condition 1" column to a session
> and
> to add condition which makes default rule true if no parameter in session
> is
> equal to an entry argument.
>
> But I couldn't find a way to add a parameter from a condition expression
> to
> a session.
>
> Is it possible?
>
> --
> View this message in context:
>
http://drools.46999.n3.nabble.com/decision-tables-and-default-rules-for-c...
> Sent from the Drools: User forum mailing list archive at
Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/rules-users
>
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users