?
Solved

Terminate a workflow "in progress" via a workflow

Posted on 2010-11-11
2
Medium Priority
?
1,964 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A recent project that involved parsing Tableau Desktop and Server log files to extract reusable user queries for use in other systems. I chose to use PowerShell to gather the data, and SharePoint to present it...
When using a search centre, I'm going to show you how to configure Sharepoint's search to only return results from the current site collection. Very useful when using Office 365 with multiple site collections.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
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 …

770 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