when trying to use the power of Flowable I hit a problem and need your help.
My scenario is very simple - I have a big number of files in one directory and for performance reasons I want to upload them in parallel. Here is a simplified version of my workflow:
Problem is that when I run this process I get a lot of FlowableOptimisticLockingExceptions nevertheless non of the async “Upload File Tasks” finish at the same time. I even put a breakpoint in “UploadFile” and resumed each execution one after another and the same exception was thrown.
Can you please tell me what I am doing wrong? It should be possible to run service tasks in parallel.