Hi Rob,
let me answer your last question first. You can find the latest version of the
DMN table editor online [1] or in the nightly build of the new Camunda desktop
modeler [2].
Regarding your main questions I would model 2 decisions tables.
1. Classification of a document by type and issue date
2. Score document by classification and customer properties like age
Both of these decisions should be invoked with a single document. I do not
think you can and should express some kind of iteration in a decision table.
I think your use case requires to have a composite decision logic which does
this steps:
1. Iterate over input documents and classifies them (Decision Table 1)
2. Filters them, for example only one class 1 document allowed
3. Iterates over filtered classified documents and scores them (Decision Table 2)
4. Sum up the document scores
With Camunda 7.4.0 you can either model these decision logic in a BPMN process
witch uses Business Rule Tasks to invoke the Decision Tables. Or if you don't
want to expose this logic in your process you can implement your decision logic
in a Java Delegate which uses the Decision Service to invoke the Decision
Tables.
Additionally if you really want to, you could also implement the filtering in
step 3 with a Decision Table. You would again iterate over the classified
documents and decided based on the document and the already filtered list of
documents if you want to include the document.
Cheers,
Sebastian