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@lists.jboss.org [mailto:rules-users-bounces@lists.jboss.org] On Behalf Of kfs2@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