In many places along the BPMN flow we need to check the complex condition, that works as following:
Is all required fields in place.
Required field are :
field1, field2, field3, field4, field5 ....
If it's a cat, dog - check also field6
If it's a cat, dog, bird - check also field7
check meaning required fields .
I thought of using DMN. not sure what is the best way.
This needs to be reusable - possibly checked a few times during the flow..