Is it possible to use wildcards in DMN?
I want to have a rule where I can check if a String contains some text
example: “key” like ‘%value%’
Hi,
you can do this by;
- provide the JUEL expression;
${input1.contains('test')}
- create your own custom function delegate
look here how to configure; https://flowable.com/open-source/docs/dmn/ch02-Configuration/
and a unit test; https://github.com/flowable/flowable-engine/blob/master/modules/flowable-dmn-engine/src/test/java/org/flowable/dmn/engine/test/runtime/CustomConfigRuntimeTest.java
personally for this use case I would go for option 1.
Regards,
Yvo