AnsweredAssumed Answered

Publish Site Collection Reusable workflow using C#

Question asked by kevitpatel on Nov 26, 2018

I'm trying to publish Site Collection Reusable workflow using C# using PublishfromNWF web service and getting an error message "error occurred in deployment step Activate Features, a list name must be provided when deploying a list workflow"

 

PublishfromNWF(WFFilename, "", "WFName, true) 

 

I tried leaving the list name blank (example above) and still get the same error message above.


If I add a list name the feature gets deployed and activated successfully.

 

Any help is greatly appreciated.

 

Thanks,

 

KP

Outcomes