We are using SharePoint 2013 and Nintex 2013. I created a simple workflow which starts a second workflow. Before I start the second workflow I set item permissions. I break inheritance and give the initiator full control. When the workflow try to start the second workflow it thorws an error:
Start workflow failed. The item does not exist. It may have been deleted by another user.
Why is not possible to modify the list item permissions before starting another workflow?
Solved! Go to Solution.
it's sharepoint feature - it doesn't execute actions immediatelly as they are passed trhough within workflow. it batches action from all over the environment and executes them once in a while.
furthermore there other batching aspects, and different complexity to execute each action.
that all may have effect on subsequent actions
see eg. this blog for further details