for type: type1, country: usa, I want PII pii1 and pii2
for type: type2, country: china, I want PII pii3
for any othertype, country: china, I want PII pii4
for any othertype and anyother country, I want PII pii5
The decision table contains default cases - rows with an empty input clause that should match if other rules don’t match. You can the default cases with the FIRST hit policy. It returns the first rule that matches.
However, the FIRST hit policy returns only one rule. If you need to return multiple rules, you need the COLLECT hit policy. To avoid the COLLECT hit policy returns the default cases, you need to define the input causes with the reverse condition, for example, not("type1", "type2"), not("usa", "china").