I think mic finally understand what you meant and commented in JIRA. Use
a global, all you want is a way to retrieve some value from the
rulebase, which is set/populated in the actions. This is no different
from standard DRL.
Mark
Hehl, Thomas wrote:
Mark, You made a comment on my JIRA that I thought I'd post here for
discussion:
Mark Proctor commented on JBRULES-11 55:
---------------------------------------
anAnwer is a method/function that returns a boolean? Must admit I
don't understand what you are trying to do there. Anyway if all you
are trying to do is assign the results of a function/method call then
why not just use an = assignment?
BooleanAnswer = anAnswer(anAnswer.setAnswer(true));
Any valid java can used.
What I'm really trying to do is simply return a boolean from a set of
really complicated rules in my decision table. I run through the rules
and if it passes, I return true.
The reason I didn't do what you suggested above is b/c there is no
documentation to suggest this is valid syntax and, after several
postings to this list, no one responded to my requests on how to do
this assignment.
So, how do I do an assignment in a decision table to simply return a
boolean? Otherwise, can you explain the syntax you posted to me. This
doesn't look like any Java I've seen and I can't make heads or tails
of how it should work.
Thanks.
**Thom Hehl***
*Sr. eJuror Architect
**)**** ****Office (859) 277-8800 x 144**
******* [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>**** ***
***ACS, Inc.**
**Government Solutions**
**1733 Harrodsburg Road***
**Lexington****, KY 40504-3617***
**This e-mail message, including any attachments, is for the sole use
of the intended recipient(s) and may contain confidential and
privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient,
please contact the sender by reply e-mail and destroy all copies of
the original message and notify sender via e-mail at
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>_ or by
telephone at 859-277-8800 ext. 144. Thank you.**
------------------------------------------------------------------------
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users