Hey There, I am facing an issue where I am trying to complete a list of resolved task in a for loop via rest api, The issue goes like this: Cannot complete task 68aadfb5-b329-11e8-acb3-0242ac120003: ENGINE-03005 Execution of 'UPDATE VariableInstanceEntity[68aa6b65-b329-11e8-acb3-0242ac120003]' failed. Entity was updated by another transaction concurrently.
where variable-instance/68aa6b65-b329-11e8-acb3-0242ac120003 is “nrOfCompletedInstances” of a multi instance activity (sub process)
Any ideas about how to solve this? Also, is there anything I need to change here?