cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Nintex Newbie

Re: How do you terminate a workflow for an item that no longer exists?

Jump to solution

Thanks Juliana..

0 Kudos
Reply
Highlighted
Not applicable

Re: How do you terminate a workflow for an item that no longer exists?

Jump to solution

This works, but only in Internet Explorer! In both Edge and Chrome I get an error... push_xmldoc (or something like that) is not defined in Edge, in Chrome just "Undefined" in an alert.

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: How do you terminate a workflow for an item that no longer exists?

Jump to solution

So, I was digging through the Nintex 2013 SDK documentation today looking for a way to terminate running workflows on other list items and saw a TerminateWorkflowByNameForListItem method.

Does anyone know how to use it? I tried using the workflow.asmx service and just rewriting the request to use the method I want but I'm getting (500) Internal Server Error...

0 Kudos
Reply
Highlighted
Not applicable

Re: How do you terminate a workflow for an item that no longer exists?

Jump to solution

So what do you do when the entire site collection was deleted and the workflows are still showing up as running?  I inherited a mess and am trying to clean it up - but I can't find a way to purge the workflows in the report - showing as still running after two years of idle.

0 Kudos
Reply
Highlighted
Automation Master
Automation Master

Re: How do you terminate a workflow for an item that no longer exists?

Jump to solution

That data could be coming from the Nintex Database tracking data. ‌ these command operations could help in your case. There are many discussion on their use as well if you have not used these before and need to read up on them. 

Reply
Highlighted
Nintex Newbie

Re: How do you terminate a workflow for an item that no longer exists?

Jump to solution

Doesn't work for me either in IE 10, 11, or Chrome; get Unknown Error".

We are still on SP 2007, so perhaps that something to do with it?

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: How do you terminate a workflow for an item that no longer exists?

Jump to solution

I used NWAdmin.exe -o SyncTerminatedWorkflows -url subsiteurl [-terminateDeletedItems]

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: How do you terminate a workflow for an item that no longer exists?

Jump to solution

I was able to terminate a workflow by going to Site Settings > Purge Workflow Data.

0 Kudos
Reply