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

SharePoint 2013 workflow template

$
0
0

Hi, Team,

I need to apply Powershell to add workflow, and I did try this one below:

  $Template = $spWeb.WorkflowTemplates.GetTemplateByName("WFTmeplateName",$currentCulture);

but I find that the workflow I deployed to the web can't be read with above code, however, when I get in the list setting of the workflow adding page, I can see the deployed workflow, anybody has any suggestion for me to test it. or SharePoint 2013 is not possible to dispose the deployed workflow to this particular GetTemplateByName method.

thanks


Tao Tao


Viewing all articles
Browse latest Browse all 7589

Trending Articles



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