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
How to do that?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.