Starting a SharePoint Online Workflow with the Client Side Object Model (CSOM)

With the use of this sample you have a starting point in order to start workflows in for example SharePoint online by using CSOM C#.

C# (16.4 MB)
582 times
Add to favorites
E-mail Twitter Digg Facebook
Sign in to ask a question

  • This code is not working
    1 Posts | Last post October 18, 2016
    • Hi, 
      As I am very new to SharePoint, I used your code but, it is not working for me. 
      I have Office 365 subscription with SharePoint. I created Announcement list into the same account and created one "PublishingApproval" workflow named "Announcement_Workflow".for the same list. 
       When I run your code by setting all the values. however, "publishedWorkflowDefinitions" object is not yielding any values and hence the workflow is getting null.
      Please Help.