Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Monday, October 20, 2014 4:23 PM
So I'm creating a workflow that creates a task in a task list after I've added a new item to my clients list. So for example by adding a new client to the client list, a task will be set to 'Complete all contact details'. All I want to do is set a predetermined due date, so instead of picking the current date or a specific date I want the workflow to work out the due date 2 days from today. How can I do this? Please note that I want to be able to change the predetermined due date in the same work flow, so for another task I'd like it to be 4 days or a week from today.
Thanks in advance! :)
All replies (2)
Monday, October 20, 2014 6:47 PM ✅Answered
In order to achieve this use an "Add Time to Date" action and set it to 2 days to the Current Item created by field. Then, use an Update item action to update the Due Date field to the date variable "Add Time to Date" action output.
Let me know how it goes.
Thanks, Ransher Singh, MCP, MCTS | Click Vote As Helpful if you think that post is helpful in responding your question click Mark As Answer, if you think that this is your answer for your question.
Monday, October 20, 2014 7:41 PM ✅Answered
Hi Sarah,
Thanks for posting your issue,
Go to your Tasks List and go into the List Settings. Click on the Due Dat column and tick the Calculated radio button. In the formula, put [Today]+2 and click OK. Go back to the list and select New and you'll see the Due Date is 2 days in the future.
If you need to do this within the workflow, you'd use an Add Time to Date action, setting it up to add 2 days to the Current Item created by field. Then, you'd use an Update item action to update the Due Date field to the date variable the Add Time to Date action output.
Also, browse below mentioned URL for more details.
http://dlairman.wordpress.com/2010/10/14/limiting-sharepoint-workflow-due-dates-to-business-days/
I hope this is helpful to you, mark it as Helpful. If this works, Please mark it as Answered.
Regards,
Dharmendra Singh (MCPD-EA | MCTS)
Blog : http://sharepoint-community.net/profile/DharmendraSingh