Hi everyone,
I have a not so complicated setup, where I like to call multiple subprocesses via Call-Activity in parallel.
The results of the called processes should be collected and put in a single result variable, so I use a DelegateVariableMapping Class to add the result to a list variable.
I’m unsure how to get my DelegateVariableMapping run exclusive to prevent OptimisticLockingExceptions, but all called subprocesses should run parallel. As far as I understood, setting the exclusive flag, will prevent optimistic locking exception, because it will effectively convert the parallel subprocesses call into a sequential one (from the super/caller-process perspective). Is there any chance to make the calls of the DelegateVariableMapping exclusive (from super-process-perspective), but keep the processes async parallel? I tried to use a key-based lock inside the delegate-Mapping, but it seems to be, that the variable-scope (incl. rev-number) is already read, when the mapOutput-Method is called.
Any ideas?

