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-boun...@lists.jboss.org 
[mailto:rules-users-boun...@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.kokk...@tcs.com<mailto:manohar.kokk...@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

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to