Solved

Terminate a workflow "in progress" via a workflow

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SharePoint JSOM error 7 68
Sharepoint 2016 - all-in-one-server vs. two servers 24 76
VBA in SharePoint 3 47
Sharepoint Online 5 32
Work Over Net is a new and very powerful collaboration product. With its new easy interface it is becoming very competitive to other similar products like webex and office interactive. WON 2010 have the standard business tools needed for multi-offic…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

809 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