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

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

jsf - "PropertyNotWritableException: Illegal Syntax for Set Operation" error when setting value in bean -

arrays - Algorithm to find ideal starting spot in a circle -