Solved

Terminate a workflow "in progress" via a workflow

Posted on 2010-11-11
2
1,859 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 500 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

For SharePoint sites, particularly public-facing ones, there are times when adding JavaScript, Meta Tags, CSS Styles or other content to the page <head> section is more practical than modifying master pages.  For instance, you could add the jQuery l…
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...
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

726 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