Best practice for rules, where we have 1 or 2 possible outputs

Hi, i have rules, which i can write like simple if in JavaScript like this:

if (a && a==a1 && b && b=b1 && c && c==c1 && d && d==d1)
{
return true
}
else return false

Can you advice - is this ok write this like literal expresson or we have elegant way to model this in DMN?

i feel what DMN is good for amounts rows in table, and this case dosen`t fit to DMN.

Hi @kotskin,

I agree that this single expression doesn’t fit well to a decision table. If this expression is part of a DRG then you can use a decision literal expression.

Best regards,
Philipp