This content has been marked as final.
Show 1 reply
-
1. Re: Row has been updated or deleted by an
swiderski.maciej Mar 24, 2014 2:42 AM (in response to mvermand)the main issue here is that you keep the process instance sort of locked (loaded from db but not written) while the thread sleep is blocking the thread. And thus while this is released you try to save process instance (loaded 10 secs ago) but it was already updated in meantime by the signal operation.
To resolve it, you need to execute the thread sleep as an async operation which means it will release the process instance and fetch it again when you're done with async processing by completing Workitem. Check docs about asynchronous operations for available options for such execution.
HTH