AnsweredAssumed Answered

Dynamic fork

Question asked by mreiterer on Apr 27, 2015
Latest reply on May 8, 2015 by mreiterer
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?