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

Publish and start a workflow using Client Object Model

$
0
0

Hi,

I have a requirement to publish a SharePoint 2013 workflow form a re-hosted designer and associate it with a site. I have managed to extract the xaml from the designer and published it using Client Object Model

These are the general steps I followed

  1.        Get workflow service manager instance
  2.        Get workflow deployment service instance
  3.        Create a WorkflowDefinition object
  4.        Save and Publish definition using workflow deployment service

Now that I have published this workflow how do I associate it with a SharePoint site  using OM ?


Viewing all articles
Browse latest Browse all 25064

Trending Articles



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