Does dmn juel expression supports list validations?

hi there,
i am using flowable dmn engine to deploy the decision table through JAVA Code ,
i am able to build the Decision Table with Json Data,

ex: in the json my rule will build like
{
rule:[
{
“input1”:"{myFieldName.contains('some data')}", "output1":"{‘some success message’}"
}
]
}
the format will validate the myFieldName(String) to the method contains with “some data”
as we know in java java.lang.String.contains() method will evaluate contains method,

but what i also want to do is to validate the list as well.
some thing like this
{
rule:[
{
“input1”:"{[son,daughter,father].containsAll([son,father])}", "output1":"{‘some success message’}"
}
]
}
it should evaluate the containsAll method like it happens in java collections, is there any way to achieve these requirement in DMN Decision Table table evaluation would be better if it can be doable with JUEL Expression.

thanks,

Hi,

The following expression

${collection:allOf('"son", "daughter", "father"', '"son", "father"')}

will result in true because the Strings son and father are in the Strings Collection son, father, daughter.

Hope this helps.

Regards,

Yvo

hi yvo,

Thanks for the quick response, I really appreciate your effort of concern. I will give a shot to the above mention syntax.

thanks,