Pattern Review: DMN Looping for Array Input

Hey all.

Just wanted to share some internal code i have used in the past to work around concurrency update needs for creating the aggregate variable such as that used in the DMN looping

It basically provides a in-mem concurrentHashMap and a static helper to perform common actions.

See the docs for example. Note that it would still be up to you to control how to handle failures, rollbacks, etc and clearing out the map. See the unit test and in-line code for further details.

The code examples are in Java Delegates, but of course you can modify them to be used with groovy, nashorn, etc.

enjoy