I have a workflow (developed in Visual Studio) that is started on creation of an item in List A. Most users have permission to create items in this list.
The workflow subsequently updates another list, List B, that most users do NOT have permission to Add/Edit items in (but do have permission to View items).
The workflow seemed to be working fine as I was developing and testing. But now I've noticed that the workflow goes into Suspended state with users that do not have Edit permissions to List B. As soon as I grant users Edit permissions to List B the workflow works.
Q: Do SharePoint 2013 workflows run as the current user by default? If so, how can I have them run with higher privileges to resolve this issue?
Edit: The message I get before it goes into Suspended state is this:
Retrying last request. Next attempt scheduled in less than one minute. Details of last request: HTTP Unauthorized to [site]/_vti_bin/client.svc/web/lists/getbyid(guid'5427d1e2-d15c-47db-aa39-8c77a1a1b879')/Items(2)