Forum Discussion

AlexBS's avatar
AlexBS
Copper Contributor
Jan 10, 2020

SharePoint Designer Workflow to display TodaysDate

Hi,

 

We have created a SPD 2013 Workflow in order to restrieve TodaysDate and display it in a Date Column within a Task List.

 

Workflow works just fine as it does displays the date accordingly. 

 

However, we now need the workflow to ONLY update the Today´s Date field when the status of the items is not equal to COMPLETED since we want to be able to compare the date the tasks was completed with the DueDate.

 

Problem is we are not able to add this condition sucessfully, please find below our workflow. My apologies since it is in Spanish. I would to my best to translate below:

 

Working Workflow:

 

  • Register Workflow Started in history
  • then set workflow status to Started
  • then Update item (TodaysDate=Current Time)
  • then set Workflow Updated in the workflow history
  • then Pause for 0 days, 0 hours, 10 minutes
  • then set Workflow Paused in the history
  • then set Workflow status Current Item: Modified

Now, this is what we have configured for the modified workflow considering that we ONLY need it to run IF the item´s Status column is anything BUT Completed:

 

 

 

 

 

 

 

 

If Currrent Item Task Status is not equal to COMPLETED

  • Register Workflow Started in history
  • then set workflow status to Started
  • then Update item (TodaysDate=Current Time)

ELSE

  • Update item (TodaysDate=Modified)
  • then set Workflow Updated in the workflow history
  • then set Workflow status Current Item: Modified

Trying to find a solution we deleted the pause actions.

 

If you could let us know how to get this work I´d really appreciate it.

Thanks.

No RepliesBe the first to reply

Resources