[jboss-jira] [JBoss JIRA] Commented: (JBRULES-1155) In Decision Table actions, cannot reference variables that were not referenced in LHS
Michael Neale (JIRA)
jira-events at lists.jboss.org
Wed Sep 5 23:38:11 EDT 2007
[ http://jira.jboss.com/jira/browse/JBRULES-1155?page=comments#action_12375567 ]
Michael Neale commented on JBRULES-1155:
----------------------------------------
you have to have a variable in a rule to reference it.
Each row is a rule, so if you have a rule that is missing a variable declaration on the LHS, there is no way that can work or make sense.
If you use globals, you can access the global value to store results - I think that is what you want.
> In Decision Table actions, cannot reference variables that were not referenced in LHS
> -------------------------------------------------------------------------------------
>
> Key: JBRULES-1155
> URL: http://jira.jboss.com/jira/browse/JBRULES-1155
> Project: JBoss Rules
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Decision tables
> Affects Versions: 4.0.1
> Environment: Windows
> Reporter: Thomas Hehl
> Assigned To: Mark Proctor
> Priority: Minor
>
> If I use a decision table to build rules for my application, there doesn't appear to be a way to store an answer on a variable that wasn't referenced in the LHS of the rule. This is because the reference to the object that must be built can only be defined in the LHS.
> I would like to be able to directly reference these "catcher" objects from the action to store the result even if they were not needed as part of the LHS.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list