Sharepoint Designer - Paused Workflow

2021-01-06T11:58:44.603+00:00

I created a workflow that works like this:

When an item is created/changed it checks if the item has the status "Archived";
If it does, it sends the Creator a notification and pauses the workflow for 7 days;
After 7 days it checks the status again. If it is "Archived", the workflow will send a notification to the Creator and stop for 4 days;
After 4 days it checks the status again and deletes the item if the Status is "Archived";
If the item is changed during this process, I need the workflow to restart. For example, if the workflow is paused for the "4 days check" and the item is modified, I need the workflow to stop this "Pause" and start the Status check all over again.

Is this possible in any way?

SharePoint Workflow
SharePoint Workflow
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Workflow: An orchestrated and repeatable pattern of business activity, enabling data transformation, service provision, and information retrieval.
545 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Oscar Maqueda 536 Reputation points Microsoft Employee
    2021-01-06T12:53:28.947+00:00

    What version of Sharepoint Designer ? Against SP Online or Onprem ? if so, what version ?


  2. Li Zhang_MSFT 1,566 Reputation points
    2021-01-07T09:25:45.667+00:00

    Hi @Matos, Miguel 1. (EXT - PT/Amadora) ,

    If the item is changed during pause process for the first workflow, a new workflow will be triggered.

    It’s not possible to restart the currently running workflow.

    In addition, we suggest you use flow rather than workflow in SharePoint online since SharePoint 2013 workflows will be retired at some point in the future.

    I also test this in flow and it’s the same as workflow, we couldn't use change trigger to restart current running flow.

    ---------------------------------------------------------------------------------------------------------------------------------------------------------------

    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.