Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Remove workflow association / subscription using csom

$
0
0

Hi,

How can I  remove a workflow association using CSOM? The workflow is a SharePoint add-in with Integrated App. I was able to associate with a list using CSOM by following the sample code from https://msdn.microsoft.com/en-us/library/office/dn481315.aspx

But I am unable to find a way to remove the association. I want to do it form CSOM, not from UI, JavaScript, PowerShell or Server object model.

// create the association workflowSubscriptionService.PublishSubscriptionForList(newSubscription, listId); clientContext.ExecuteQuery();

Thanks,



Kolitha de Silva ----------------- www.dkolitha.com / dkolitha.wordpress.com


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>