Remove SharePoint Workflow Template programatically -


when using sharepoint designer 2013, under "workflows" option in navigation pane can view , remove workflow templates.

enter image description here

is possible same programatically (preferably via powershell)?

an old question, faced same problem , determined deleting folder within hidden "workflows" list in site how remove template:

$web = get-spweb $siteurl $templates = $web.workflowtemplates | where-object {$_.name -eq "send reminder email"} if ($templates.count -gt 0) {     $web.lists["workflows"].rootfolder.subfolders.delete("send reminder email") } 

Comments

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -