Hi All:
Our application integrates with another application by having the external application send events via the rest api. On some of our user tasks we have multiple boundary events that look something like the following:
In some situations the external application can send both events at the same time. What I see is that this often (but not always) results in an optimistic locking exception. I have tried to address this by various combinations of setting the async and exclusive flag but it doesnt seem to help. I wrote a simple piece of node code that sends in 3 events at the same time and at least one rest call fails almost 100% of the time(it varies as to which one). So obviously we can address by telling the external app to implement retry logic to retry whatever events fail with optimistic locking exception, but is there anything that can be done on on the camunda side to mitigate this? Thanks in advance for any advice you can give