I have a workflow on a library that runs all actions inside an Action Set with elevated app permissions. The workflow contains a number of workflow actions to modify the item permissions to limit access to a number of SharePoint groups.
When a non-owner of the site, runs the workflow, the workflow eventually suspends with the following error after some of the permissions get set by those workflow actions:
"Item does not exist. It may have been deleted by another user."
If the workflow is terminated and restarted by an owner, it completes successfully.
Given that the workflow actions that are modifying the item's permissions are running inside the action set, why is the "Item does not exist" error occuring? The item is clearly there, and the elevated app permissions should have full access to it.