SOLVED

PnP provisioning SP2010 workflows

%3CLINGO-SUB%20id%3D%22lingo-sub-61359%22%20slang%3D%22en-US%22%3EPnP%20provisioning%20SP2010%20workflows%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-61359%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%26nbsp%3Binvestigating%20the%20options%20for%20provisioning%20SP2010%20(SPD)%20workflows.%20We%20are%20using%20PnP%20as%20the%20core%20of%20our%20provisiong%20solution%20and%26nbsp%3Bare%20also%20going%20to%20use%20it%20to%20provision%20SP2013%20workflows%20but%20there%20is%20also%26nbsp%3Bthe%20need%20to%26nbsp%3Buse%202010%20workflows.%20When%20I%20export%20one%20of%20our%20development%20sites%20with%20PnP%20I%20see%20SP2013%20workflows%20being%20exported%20but%20not%20the%20SP2010%20workflows%20(tested%20with%20both%20a%20reuable%20workflow%20associated%20with%20a%20list%20and%20a%20list%20workflow).%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20it%20possible%20to%20provision%20SP2010%20workflows%3F%20And%20if%20so%20can%20be%20done%20same%20way%20as%20SP2013%20workflows%20(by%20including%20the%20workflow%20definition%20in%20the%20template)%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThx!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-62956%22%20slang%3D%22en-US%22%3ERe%3A%20PnP%20provisioning%20SP2010%20workflows%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-62956%22%20slang%3D%22en-US%22%3E%3CP%3EThx%26nbsp%3B%40Deleted.%20Didn%E2%80%99t%20pursue%20SP2010%20workflow%20option%20as%20from%20performance%20perpective%20they%20are%20no%20longer%20an%20option.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-61605%22%20slang%3D%22en-US%22%3ERe%3A%20PnP%20provisioning%20SP2010%20workflows%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-61605%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%40Deleted%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ei%20think%20it%20will%20but%20you%20need%20to%20place%20the%20files%20manually.%20and%20need%20something%20to%20activate%20the%20workflow.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-61373%22%20slang%3D%22en-US%22%3ERe%3A%20PnP%20provisioning%20SP2010%20workflows%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-61373%22%20slang%3D%22en-US%22%3E%3CP%3EThx%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F60%22%20target%3D%22_blank%22%3E%40Juan%20Carlos%20Gonz%C3%A1lez%20Mart%C3%ADn%3C%2FA%3E.%20Appears%26nbsp%3Bit%20is%20not%20going%20to%20be%20supported%20anytime%20soon.%20The%20issue%20is%20addressing%20only%20export%20of%20the%20workflow%2C%20would%20it%20theoraticly%20be%20possible%20to%20use%20the%20output%20from%20the%20.wsp%20file%20(from%20save%20as%20template%20option%20in%20SPD)%20and%20use%20PnP%20to%20provision%20these%20files%20to%20the%20workflow%20folder%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-61371%22%20slang%3D%22en-US%22%3ERe%3A%20PnP%20provisioning%20SP2010%20workflows%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-61371%22%20slang%3D%22en-US%22%3EI%20believe%20PnP%20does%20still%20not%20support%20the%20export%20of%20SP%202010%20workflows%3A%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FSharePoint%2FPnP-Sites-Core%2Fissues%2F1031%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2FSharePoint%2FPnP-Sites-Core%2Fissues%2F1031%3C%2FA%3E%3C%2FLINGO-BODY%3E
Highlighted
Deleted
Not applicable

Hi,

 

I am investigating the options for provisioning SP2010 (SPD) workflows. We are using PnP as the core of our provisiong solution and are also going to use it to provision SP2013 workflows but there is also the need to use 2010 workflows. When I export one of our development sites with PnP I see SP2013 workflows being exported but not the SP2010 workflows (tested with both a reuable workflow associated with a list and a list workflow). 

 

Is it possible to provision SP2010 workflows? And if so can be done same way as SP2013 workflows (by including the workflow definition in the template)? 

 

Thx!

 

4 Replies
Highlighted
Solution
I believe PnP does still not support the export of SP 2010 workflows: https://github.com/SharePoint/PnP-Sites-Core/issues/1031
Highlighted

Thx @Juan Carlos González Martín. Appears it is not going to be supported anytime soon. The issue is addressing only export of the workflow, would it theoraticly be possible to use the output from the .wsp file (from save as template option in SPD) and use PnP to provision these files to the workflow folder? 

Highlighted

Hi @Deleted,

 

i think it will but you need to place the files manually. and need something to activate the workflow.

 

Highlighted

Thx @Deleted. Didn’t pursue SP2010 workflow option as from performance perpective they are no longer an option.