Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Terminate a workflow "in progress" via a workflow

Posted on 2010-11-11
2
Medium Priority
?
2,040 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 21

Accepted Solution

by:
chapmanjw earned 1500 total points
ID: 34126242
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
ID: 34284091
Gave just a link to a solution (see Grading Tips), however, it was a good link!
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
SharePoint Designer 2010 has tools and commands to do everything that can be done with web parts in the browser, and then some – except uploading a web part straight into a page that is edited in SPD. So, can it be done? Scenario For a recent pr…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

604 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