Forum Discussion
SharePoint Workflow 2010 always return “Canceled” as status
Hi Adrienne!
Thank you for your reply.
I'm using a list workflow. There is an impersonation step at the end of the workflow (after the document creation) where the workflow set permissions to the newly created item in the "Data" list.
I'll try to remove this step, if it can be the cause of the problem.
I'll keep you updated.
I've deleted the impersonation step, but workflow still returns "Canceled".
I've tried to give "Full control" to the "Sales" users group also on the top-level site and to the specific subsite where I create the document with the workflow. Workflow still returns "Canceled".
I've really no idea how it is possible.
- Adrienne AndrewsNov 06, 2018Brass Contributor
Some things that I've learned to do over the years when I get stuck with an issue like this is to use the write to log file action after each step in the workflow, even if it is just to write something like "step [whatever] completed". This allows you to narrow down at least how far the workflow gets before it fails. I'd say also check the ULS logs, but that's a little hard to do in SharePoint Online! :(
The other thing to consider is trying to replicate the workflow using SharePoint 2013 instead of SharePoint 2010. I know there are some serious design changes between the two, it may not be possible to duplicate it exactly - but that would be one of the things I would try if it were me, just to further eliminate that as a problem.