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 - Autoloader issue not returning Class -

java - How to put two numbers separated by a space into two different arrays -

python - matplotlib equivalent for Ubuntu servers with no GUI? -