tags:

views:

552

answers:

1

well the thing is i am having a scheduled script that checks some changes in a different database (Oracle), if the change happens

i need to cancel /kill/ stop a workflow if it is in progress on a specific item of my list

i couldnt find how to do that hope you people can help

+1  A: 

I did not try, but the SPWorkflowManager.CancelWorkflow Method should do what you want to do: "Cancels the specified workflow instance."

I hope it works and solves your problem.