[rules-users] variable binding without condition in Decision table
Jaroslaw Kijanowski
kijanowski at gmail.com
Tue Jul 14 13:27:41 EDT 2009
It should work without creating a dummy constraint, try this:
CONDITION
<leave this row blank>
$serviceContract:CreditServiceContract()
Cheers,
Jarek
Hehl, Thomas wrote:
> Nope, that’s how it works. I wrote it up as a defect and it got closed
> because no one seemed to think it was an issue. So, since I don’t have
> the time available to be a contributor, I decided not to complain.
>
>
>
> ------------------------------------------------------------------------
>
> *From:* rules-users-bounces at lists.jboss.org
> [mailto:rules-users-bounces at lists.jboss.org] *On Behalf Of
> *kfs2 at chryslerfinancial.com
> *Sent:* Thursday, May 21, 2009 9:05 AM
> *To:* Rules Users List
> *Subject:* [rules-users] variable binding without condition in Decision
> table
>
>
>
>
> I have a decision table where I need to bind a variable to use in the
> action. The problem is that the binding does not happen unless I apply
> a condition. What I want in the resulting rule is this:
>
> $serviceContract: CreditServiceContract ( )
>
> This is what I want but does not work. The binding does not happen so
> the rule does not compile.
>
> This works but I hate to add an arbitrary condition just to accomplish a
> binding.
>
>
>
> I'm sure I am just missing something. Can someone point that out?
>
> Thanks
>
>
>
> Kent Symanzik
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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