Hi Encho,
As I understood, there is a need to finish parallel multiinstance behavior on the evaluated condition. Check completionCondition
in https://www.flowable.org/docs/userguide/index.html#bpmnMultiInstance whether it fulfill your needs.
Regards
Martin
Ys, but I also want to ensure that the FlowableOptimisticLockingException will not be thrown. With the current implementation the optimistic locking is thrown… That is why I propose to use listener which will be invoked when all the child executions are inactive or have reported that they have finished(by setting some variable).