Hi all,
i have the following requirements (see my process in the attachment):
- The "Render" step calls an external resource via REST.
- The external system delivers x (unknown number) request which contain a file reference which should then be handled/stored in parallel.
-> My solution is to call messageEventReceived for every on the boundary message event and do a callActivitiy in the concurrent flow.
- Then the external system delivers a success message.
-> upon delivery of the success message i do a signal on the wait state (Wait for render result).
- The boundary message event is configured as "cancel activitiy = false"
My current problem is that i get an ActivitiOptimisticLockingException, on messageEventReceived.
Is there a best practice how to model such an requirement?
Thanks
Markus