[rules-users] Operation of "otherwise" in Decision Table (Guided editor) of Guvnor

Welsh, Armand AWelsh at StateStreet.com
Thu Nov 17 17:50:59 EST 2011


See:  http://planet.jboss.org/post/guvnor_decision_table_otherwise_support

Essentially, otherwise is a negation of the collection of all the column values.

If you test for equality (==) then otherwise generates a rule with not in (...)
If you test for inequality (!=) then otherwise generates a rule with in (...)

The collection of the in and not in tests is the aggregate of the defined values in that column.  See the URL for details.

From: rules-users-bounces at lists.jboss.org [mailto:rules-users-bounces at lists.jboss.org] On Behalf Of Manohar Kokkula
Sent: Thursday, November 17, 2011 6:23 AM
To: Rules Users List
Subject: [rules-users] Operation of "otherwise" in Decision Table (Guided editor) of Guvnor

Hi All,

I am new to Guvnor,
Please can any one explain me the uses of "otherwise" in Decision table(Guided editor) with simple example ?



Thanks and regards
Manohar Kokkula
Mailto: manohar.kokkula at tcs.com<mailto:manohar.kokkula at tcs.com>

=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20111117/35fb80ee/attachment.html 


More information about the rules-users mailing list