[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Running two concurrent workflows on a single item in Sharepoint

Posted on 2009-05-01
2
Medium Priority
?
1,529 Views
Last Modified: 2012-05-06
Hi all,
I have a meeting room reservation site in WSS 3.0. I have set up a workflow which sends a notification to invitees that a meeting has been set up and then pauses until 15 minutes before the due time at which point it sends out a reminder.

I have also set up the workflow to fire if the reservation changes which will send a mail out with the new details and wait until 15 minutes before the new time.

I have set up conditions on the workflow to check to see if the modified date is the same as the original modified date when the workflow started so that when it reaches the reminder time it will only send out a reminder if the item hasn't changed. This way it should only send out a reminder for the most recent item as it is set to start a new workflow every time a change is made.

My problem is that the original workflow is still running when a change is made and Sharepoint seems to be unable to start a second workflow on the same item while another is still running. What is happening is that the notification and reminders work perfectly if no change is made but if a change is made before the reminder time a new workflow is not started and as the modified time is changed the original reminder also does not go out (which is essentially correct). If a change is made after the reminder time (i.e. when the first workflow completes) then the change notification and second reminder mails go out as expected.

What I need to know is if there is any way to stop the first workflow before starting the second or if it is possible to run two workflows concurrently on a single item?

I appreciate any help. I've attached a few screenshots so you can see the logic.
Step1.JPG
Step2.JPG
Step3.JPG
0
Comment
Question by:TheHappyGrump
1 Comment
 
LVL 32

Accepted Solution

by:
Jamie McAllister MVP earned 2000 total points
ID: 24278099
I wonder if you'd get better results by running the second workflow from the first?

There is an activity that allows you to do that. You can download it here;

http://spdactivities.codeplex.com/

0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone 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

The vision: A MegaMenu for a SharePoint portal home page The mission: Make it easy to maintain. Allow rich content and sub headers as well as standard links. Factor in frequent changes without involving developers or a lengthy Dev/Test/Prod rel…
In case you ever have to remove a faulty web part from a page , add the following to the end of the page url ?contents=1
Loops Section Overview
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

873 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