While trying to complete user/service tasks in our bpm, we are getting
{“type”:“RestException”,“message”:“Cannot complete task f34b057f-af91-11ea-be2e-02428e6f8b86: ENGINE-03005 Execution of ‘UPDATE VariableInstanceEntity[e695b1de-af91-11ea-be2e-02428e6f8b86]’ failed. Entity was updated by another transaction concurrently.”}
2020-06-16 05:26:38 INFO java.lang.Class - =======================response end=================================================
Our flows running in production never gave these issues until about a few weeks ago we started getting this across the board. We did upgrade to latest version but still issue persists.
Has something changed resulting in this error?
Why is this happening and how can we fix and prevent this in the future?
Yes this seems to happen on one leg of the parallel gateway. I have put Async after on these tasks. It seems like its trying to update the same variable at the same time.
Do you have any other suggestions?