locked
SharePoint Designer 2013 - Approval Workflow Due Date Question RRS feed

  • Question

  • Hello,

    I have a 2013 approval workflow that I created with SharePoint Designer 2013 to be used in SharePoint Online. This is a reusable workflow so I can't set static due dates, I need some logic that will take today's date and add 1 day to it and make that the due date for the task after it has been created. I have about 10 tasks and 3 stages.

    Any help would be greatly appreciated!

    Thank you,
    Eric

    Wednesday, August 26, 2015 8:33 PM

Answers

  • Last update,

    I am sure there is some logic with loops to make this easier but for me I just placed this logic before every task was assigned and it seems to be working properly.

    • Marked as answer by Eric Roemisch Wednesday, September 2, 2015 1:32 PM
    Wednesday, September 2, 2015 1:32 PM

All replies

  • Hi 

    I think you can use "Add Time to Date" action which allows you to add month, hours, day and minutes to today's date and output to a variable. This variable can be used to set Due Date. See below screenshot.

    Hope it helps.


    Danny
    MCTS, MCP
    LinkedIn | Twitter


    Please remember to "Mark as Answer" if it works or vote of it is helpful.

    Thursday, August 27, 2015 9:22 AM
  • Hi Danny,

    Thank you for the response. I was thinking about using that action but I have a few questions. Does that action get called every time a new task has been created? For example I have a task start today and the next task won't start until the first one is completed, so lets say the first one gets completed tomorrow, will task two then go back to that action and take that days date plus 1 day?

    Do I place that action at the very top of the flow?

    Thank you,

    Eric

    Thursday, August 27, 2015 1:24 PM
  • Just an update, I placed this logic in the flow at the top:

    This did not work entirely, it worked for the first task but once it went to the next task it did not update the date, it immediately told me it was past its due date. I suppose I will need some loop logic or add this logic to every task?

    Friday, August 28, 2015 1:29 PM
  • Last update,

    I am sure there is some logic with loops to make this easier but for me I just placed this logic before every task was assigned and it seems to be working properly.

    • Marked as answer by Eric Roemisch Wednesday, September 2, 2015 1:32 PM
    Wednesday, September 2, 2015 1:32 PM