Solved

Terminate a workflow "in progress" via a workflow

Posted on 2010-11-11
2
1,706 Views
Last Modified: 2012-05-10
I have a workflow that launches when an item is created or updated. The workflow sends an email then pauses until a date is reached (date is specified by field within the item). Once the date is reached it carries out ar a few more actionsthe completes. I would like the workflow to be stopped and the relaunched (effectively restarting the workflow) when an update is made to the item. I have tried a number of solutions but it seems as though the workflow cannot be stopped / terminated while it is "in progress" unless manually done so via the browser. Is there anyway I can stop / terminate / cancel (or any derivitive of that action) an "in progress" workflow?
0
Comment
Question by:eggwhisk
2 Comments
 
LVL 21

Accepted Solution

by:
chapmanjw earned 500 total points
Comment Utility
The only way to accomplish this is by using a custom Visual Studio workflow rather than a SharePoint Designer workflow.  Here is one post on terminating workflows from code: http://social.msdn.microsoft.com/Forums/en-US/sharepointworkflow/thread/e5fc79f8-ca3a-421a-ab8a-78fcb3365b46/
0
 

Author Closing Comment

by:eggwhisk
Comment Utility
Gave just a link to a solution (see Grading Tips), however, it was a good link!
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Last week I faced a strange issue recently, i have deployed SharePoint 2003 servers for one project and one of the requirements was to open SharePoint site from same server. when i was trying to open site from the same server i was getting authentic…
I used to be SharePoint evangelist in our company, so my Outlook always full of questions about how to do this, or where I can find that. One day I found such an email with the following question: "how to attach 3-State workflow (one of the workflow…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now