My problem is exactly described in the question below, but has no accepted, or helpful answer.

Most answers mention Office 365, which might work, but I am looking at a 2013 setup.

How to start SharePoint Workflow programmatically using CSOM

I'm running on SP Server 2013 and trying to do some workflow operations through CSOM but I keep getting null at the GetWorkflowDeploymentService call

WorkflowDeploymentService workflowDeploymentService = workflowServicesManager.GetWorkflowDeploymentService();

Unhandled Exception: Microsoft.SharePoint.Client.ServerException: Cannot invoke method or retrieve property from null object. Object returned by the following call stack is null. "GetWorkflowDeploymentService new Microsoft.SharePoint.WorkflowServices.WorkflowServicesManager() "


This is probably a permissions issue, try changing the user permissions to design on both site and site collection

  • account is site collection administrator – Tiago Duarte Aug 27 '19 at 14:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.