Using Drools 6.0.1 I would like to set a CONDITION (on a column of a Decision Table) similar to the following one:
ProductDrools(productCategories contains $param)
(that then would go in every rule after a when
in a drl
file) where productCategories
is a Set
(e.g. an HashSet
) that, for now, I am only able to check against one string per cell e.g. "categoryA"
.
I would like to provide in the spreadsheet cell a List
, array, Set
(any Collection
) of multiple strings representing categories e.g. "categoryA", "catB", "catX"
.
The official documentation for Drools 6.0.1 does not provide enough information regarding operators like contains
.
Is this scenario achievable? How? Is there any documentation regarding this you could point me to?