How to define negative conditions in column defined with Domain Model in Decision table

How to define negative conditions in column defined with Domain Model in Decision table

book

Article ID: KB0083786

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition 5.2.x and above

Description

If using decision table and define domain model for property,. we get a drop-down of values in WebStudio. For example, if we have a domain model with values X, Y, Z and if it selects X and Y in the domain model, the decision table will generate a condition like =="N" || =="I" . However, if we would like to write a condition like !="Y", can we define the negative conditions with domain model values in the decision table?

Issue/Introduction

How to define negative conditions in column defined with Domain Model in Decision table.

Environment

All Supported Platforms

Resolution

When the Domain Model is defined for the Concept column and the condition in the Decision Table (DT) is defined using the concept property, we can select any number of values from the domain model list of values. Just by selecting the values in domain model we cannot define a negative condition as it is always an OR condition between multiple values. But, we can always type in the value and use the operator of our choice. To define the negative condition we can type in "!="Y"" in the column even though we have the domain model defined. The condition will still be evaluated as desired.