Im trying to start list workflow (sp 2013) from MVC app.
the mvc app (win auth enabled) is running by a user that is site owner.
i always get ASP.NET access denied
var workflowServiceManager = new WorkflowServicesManager(web);
var workflowSubscriptionService = workflowServiceManager.GetWorkflowSubscriptionService();
SPList oList = web.Lists["Employee"];
SPListItem item = oList.GetItemById(557);
//access denied on this line
//------------------------------------
var subscriptions = workflowSubscriptionService.EnumerateSubscriptionsByList(oList.ID);
thanks