Evaluete List in DMN Table

Hi coderHarder,

The field “Input Variable” with default “cellInput” is used differently than you describe in your question. The result of the “Expression” field is stored in “cellInput” (or under a different name if you specify it in the field “Input Variable”). You can then use “cellInput” (or the different name) in the expression in a input entry. Docs: DMN Decision Table Input | docs.camunda.org

I found a similar question here and adapted the provided solution to your question: DMN evaluate input List - #3 by hassang

In the “Expression” field we put “aktiveVertraege”. We leave the “Type” blank.
An input entry can then be written as:
list contains(cellInput, 30)

image

Checking with Postman:
Not containing 30:


Containing 30:

Unfortunately, the input entry is a bit more complex than a simple integer, but I hope it still suits your needs.

Kind regards
Till

2 Likes