Forum Discussion
Office 365 PnP Workflow Provisioning
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
Hi Remy,
I am having a simular issue with Csom C#.
Adding VesaJuvonen
Do you have a way how to upload new wf's with pnp?
- Oct 19, 2016
Deleted, what do you mean by new workflows? Workflows that are not exported from an existing site?
- DeletedOct 19, 2016
Hi Pieter,
i mean workflows that do not exist yet in a tenant but which you want to upload to a new tenant.
do you need to upload the WSP? or is there a new way how to do this? bypassing a wsp?
i see when i get a export the whole workflow is exported.
Kr,
Paul- Oct 19, 2016
Deleted, yes SPD workflows are exported and imported using PnP Templates. No need for WSPs.