Which is the best strategy to define a lot of rules with similar expressions? For example I want to check if a content (input of my DMN Table) contains any word of a big set of words. I can do it defining the expression like that
Rule1: ${ (content.contains("value1")) }
Rule2: ${ (content.contains("value2")) }
Rule3: ${ (content.contains("value3")) }
Rue4: ....
or like that:
Rule1: ${ (content.contains("value1") || content.contains("value2") || content.contains("value3") || ... ) }
But I would like to compare the content with a list of 1000 values. Maybe these 1000 values are saved in a database table. How would you perform this taks?