Forum Discussion
Rémy Bosman
Oct 19, 2016Brass Contributor
Office 365 PnP Workflow Provisioning
Hi all, Can anyone tell me which steps I should follow to privision a Reusable SharePoint workflow created with SharePoint Designer? Extracting a PnP template with -Handlers Workflows seems to ...
Oct 19, 2016
The easiest way to figure out how to do this is by using the PowerShell commands
Get-SPOProvisioningtemplate and Apply-SPOProvisioningtemplate
You could run this with or without the Handlers/ExcludeHandlers options. If you just do the workflows you risk not including the columns/content types/lists etc that may be required by the workflow.
If you want tot do this via code then simply replicate the same code as is used within the code used by the above PowerShell commands