cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper II
Helper II

adding Due dates 3 days from item creation date

Hi,

what i am trying to achieve is to create a outlook task after an email is sent upon creating an item and set the task days to 3 days from the created date.

 

Currently i can only see option to add dynamic contents fields.This way i can add a created date but not  created date +3.

my workflow sends notification and assign outlook task and may be reminders. 

 

I am not sure if it is the right way to do it. please advise if there are any alternative/correct way to do this.

Capture.PNG 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: adding Due dates 3 days from item creation date

If you add the expression So you will have adddays() in the expression editor. Then put your cursor between the brackets and clikc on the Dynamic Contents tab. Then find the created from your trigger and add that Dynamic content.

View solution in original post

7 REPLIES 7
Highlighted

Re: adding Due dates 3 days from item creation date

AddDays.PNG

Have  you tried the AddDays expression?

Highlighted
Helper II
Helper II

Re: adding Due dates 3 days from item creation date

i did saw that function in the expression but not sure how to add field "created" in that.

Highlighted

Re: adding Due dates 3 days from item creation date

If you add the expression So you will have adddays() in the expression editor. Then put your cursor between the brackets and clikc on the Dynamic Contents tab. Then find the created from your trigger and add that Dynamic content.

View solution in original post

Highlighted
Helper II
Helper II

Re: adding Due dates 3 days from item creation date

Thanks Pieter, 

Highlighted
New Member

Re: adding Due dates 3 days from item creation date

addDays(body('Get_email')?['DateTimeReceived'], days: 10)
 

What is wrong with this? 🙂


Highlighted
Frequent Visitor

Re: adding Due dates 3 days from item creation date

******WRONG POST*****

 

 

Highlighted
Frequent Visitor

Re: adding Due dates 3 days from item creation date

I'm brand new to Power Automate, and I'm trying to do the exact same thing as the OP. However, I can't understand the solutions provided by other people. 😞 Sorry to be thick.

 

I understand where to find the addDays expression, but I don't understand how to format it properly. It's not clear to me from the tool tip what to do. 

 

Perhaps if someone wrote out exactly how it would appear in a working example, using real numbers? 

 

addDays(timestamp: string, days: integer, format?: string)

 

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (8,524)