Answered by:
How to Restart a SharePoint Designer 2013 "Pause Until" Workflow on list item update

Question
-
Hi,
I am developing a SharePoint Designer Workflow which will send an alert on a specific date let say 10 days from starting of workflow I am using "Pause Until" action to achieve this.
Now if user updates the list item and reminder date is now changed to 7 days from now, but workflow doesn't restarts as it is in "Pause Until" state.
How can i restart the workflow again if reminder date is updated. I need to achieve this functionality using SharePoint Designer as i am not allowed to used any other tool like Visual Studio or Visio etc
Tuesday, October 25, 2016 5:45 AM
Answers
-
Hi Abdul Mannan Nasir - MCP,
About the “Pause Until” action, the workflow will pause until the original date and ignore the change of the date until the pause action completes.
So the workflow will not be restarted if the reminder date is updated.
You could consider to trigger a new workflow when the list item is updated by setting the start options “Start workflow automatically when an item is changed”. In the new workflow, it will use the updated value of the reminder.
And you could stop the old workflow manually, because there is no default action to stop workflow in another workflow.
More reference:
Workflow actions in SharePoint Designer 2010: A quick reference guide.
There is a similar post:
Best regards,
Sara Fan
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com- Proposed as answer by Victoria Xia Thursday, November 3, 2016 10:03 AM
- Marked as answer by Abdul Mannan Nasir - MCP Thursday, November 10, 2016 6:23 AM
Wednesday, October 26, 2016 2:55 AM
All replies
-
Hi Abdul Mannan Nasir - MCP,
About the “Pause Until” action, the workflow will pause until the original date and ignore the change of the date until the pause action completes.
So the workflow will not be restarted if the reminder date is updated.
You could consider to trigger a new workflow when the list item is updated by setting the start options “Start workflow automatically when an item is changed”. In the new workflow, it will use the updated value of the reminder.
And you could stop the old workflow manually, because there is no default action to stop workflow in another workflow.
More reference:
Workflow actions in SharePoint Designer 2010: A quick reference guide.
There is a similar post:
Best regards,
Sara Fan
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com- Proposed as answer by Victoria Xia Thursday, November 3, 2016 10:03 AM
- Marked as answer by Abdul Mannan Nasir - MCP Thursday, November 10, 2016 6:23 AM
Wednesday, October 26, 2016 2:55 AM -
Hi Abdul Mannan Nasir - MCP,
If the reply is helpful to you, you could mark the reply as answer. Thanks for your understanding.
Best regards,
Sara Fan
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.comWednesday, November 9, 2016 8:48 AM -
Hi Sara,
I have marked the answer but i have found another way around. There is no way to restart the workflow using OOTB solution.
What i did is i use "Pause Until Duration" and set it to 1 day. Now in loop i pick the latest date from list after 1 day it again check the condtion which is now the latest date so reminder is now send on latest date.
Thanks for your effort and time
- Edited by Abdul Mannan Nasir - MCP Thursday, November 10, 2016 6:27 AM
Thursday, November 10, 2016 6:26 AM -
Hi Abdul Mannan Nasir - MCP,
It is very happy that you have found the workaround.
Thank you for your sharing and it will help others have the same issue.
Best regards,
Sara FanPlease remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.comThursday, November 10, 2016 6:32 AM -
Hi Abdul,
I am having the similar requirement, can you please explain in detail about how to achieve the workflow.
I am having the requirement as below.
List having two fields with start & Expiry Date, based on date of Expiry user get notified with an Email on -15 days , on Expiry Date& +15 days of Expiry date.
Here the problem is whenever the workflow sends an email it pausing to next stage even if change the Expiry Date.
Could you please explain how to achieve the above scenario in SharePoint 2013 using SharePoint designer.
Thanks in advance.
Wednesday, August 22, 2018 8:08 AM -
Well without the rest of the scenario hard to say.
I'd try this:
Create a Boolean fields for each notification, PreExpNotify, ExpNotify, PostExpNotify, or whatever you want.
Create a Stage for Notifications... not sure what else you're doing.
Loop with condition of PreExpNotify = False
Pause for 1 Hour (Change to whatever suits you, 1 day is not good as users could update the date to something that needs to send today. That's why I use 1 hour. You could use 2, 4 or even 5 Mins.)
Add time to Date -15 to Expiry Date output to Variable PreExpDate
Add If condition PreExpDate <= Today()
Send email
Update list Item change PreExpNotify to True
Add another loop to the same stage and repeat just using ExpNotify, then same for PostExpNotify changing the applicable values and variables.
So these will just loop on whatever time frame you set pausing for that duration. Checking the date and sending the notification when reached, then updating the Booleans so they stop running and don't send duplicate notifications.
This is as close as I could get to "Real Time"
Just be glad you don't have 20 Dates and notifications per item like my current project :) oh and throw in a color coded calendar and hide the times while you're at it. No problem.
Thursday, September 13, 2018 6:47 PM