cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
milo1234
Helper III
Helper III

Automatically set Microsoft Planner task 'start date' to the date of the email received in Outlook

Hi,

 

I have a flow set up that creates a planner task when an email is flagged, however is there a way to automatically set the
1. 'start date' of the task to the email received date
2. set the due date to start date + 3 days as mentioned above?

2 ACCEPTED SOLUTIONS

Accepted Solutions
jinivthakkar
Dual Super User
Dual Super User

@milo1234 please find my flow

 

jinivthakkar_2-1614000548090.png

jinivthakkar_3-1614000571512.png

 

Format time:

formatDateTime(triggerOutputs()?['body/receivedDateTime'],'yyyy-MM-dd') 

Add 3 days:

addDays(outputs('Compose'),3,'yyyy-MM-dd')

 

Hope this helps.

 

--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

 

View solution in original post

jinivthakkar
Dual Super User
Dual Super User

@milo1234 add a new compose in step 2 before Compose Email Subject and then in Yes Condition/Create task add the start date as output from compose in step 2 and end date as - expression and as I have shown add the expression.

 

--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

View solution in original post

5 REPLIES 5
jinivthakkar
Dual Super User
Dual Super User

@milo1234 please find my flow

 

jinivthakkar_2-1614000548090.png

jinivthakkar_3-1614000571512.png

 

Format time:

formatDateTime(triggerOutputs()?['body/receivedDateTime'],'yyyy-MM-dd') 

Add 3 days:

addDays(outputs('Compose'),3,'yyyy-MM-dd')

 

Hope this helps.

 

--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

 

milo1234
Helper III
Helper III

Thank you jinivthakkar. 

 

How do I incorporate this into my flow I have already created? Please find attached.

The flow creates a planner task when an email is flagged and allows for special characters to be passed through the subject line of the email. 

image.pngimage.pngimage.pngimage.pngimage.png

milo1234
Helper III
Helper III

jinivthakkar
Dual Super User
Dual Super User

@milo1234 add a new compose in step 2 before Compose Email Subject and then in Yes Condition/Create task add the start date as output from compose in step 2 and end date as - expression and as I have shown add the expression.

 

--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

milo1234
Helper III
Helper III

@jinivthakkar Thank you so much! It worked 🙂

 

 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Users online (1,911)