on 07-10-2015 6:04 AM
Code <> 1 and Code <> 2
can be transformed into
Exclude( Code = 1 or Code = 2)
The decision table allows you defining that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As usual Carsten is right and knows a shorter solution 🙂
In the UI of the decision table this option is not visible at a first glance, so you have to perform the following steps:
Logical, but getting it done in the UI is not too intuitve at the first glance
Hi,
the direct value input in decision table supports two options:
The connection via AND is not available. But you can achieve that by using a boolean expression (which allows you that logical combination) and embed that expression in your decision table
BR
Christian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
here come the details:
You have to model the condition that you want to use as a Boolean expression as shown in the screenshot below
Within your decision table instead of using the direct value input you assign this expression to the cell in the condition column
When the decision table is evaluated it will delegate to the expression and if it evalutes to true the condition of the cell is met while if it evaluates to flase it is not met.
I attached two screenshots of simulation runs where you can see how the evaluation is done by the system:
Example 1 - Zname = 01-02-000 -> Result = "Result 2"
Example 2 - Zname = 01-02-002 -> Result = "Result 1"
BR
Christian
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.