01 September 2011

How do I – Remove all traces of a Workflow from my SharePoint list?

Sometimes when we are working with SharePoint Designer (SPD) workflows on SharePoint lists, things can get a little ugly. SharePoint preserves every version of the workflow unless you manually go and remove it from the list settings. If you have a workflow that happens to keep in a running loop, it could appear as if the newly published workflow didn’t actually publish correctly. In such situations, it’s often better to “reboot” and publish fresh. What we would do is to remove every instance of our workflow from the list settings and then re-publish the workflow again from SPD. Here’s how:
  1. Start by navigating to the list on which the workflow was published.
  2. In the ribbon, switch to the “Library” tab.
  3. image
  4. Once on the “Library” tab, you can click the “Workflow Settings” button, but because the ribbon dynamically changes depending on browser size and screen resolution, that button may not always be displayed.  A sure way to get there is to click the “Library Settings” button which is always displayed.
  5. image
  6. From the Library Settings page, under “Permissions and Management”, click the “Workflow Settings” link.
  7. image
  8. You’ll now be presented with a long list of historic versions of the workflow.
  9. Click the “Remove a workflow” link below the historic list.
  10. image
  11. On the right, select the “Remove” radio button for every instance of the workflow.
  12. Once all the buttons are selected, click the “OK” button to completely remove our workflow from the list.
  13. image
  14. Now simply switch back to SPD and re-publish the workflow for a fresh start.

Cheers
C

No comments:

Post a Comment

Comments are moderated only for the purpose of keeping pesky spammers at bay.

SharePoint Remote Event Receivers are DEAD!!!

 Well, the time has finally come.  It was evident when Microsoft started pushing everyone to WebHooks, but this FAQ and related announcement...