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
Resident Rockstar
Resident Rockstar

@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
Resident Rockstar
Resident Rockstar

@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
Resident Rockstar
Resident Rockstar

@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

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
Resident Rockstar
Resident Rockstar

@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

milo1234
Helper III
Helper III

@jinivthakkar Thank you so much! It worked 🙂

 

 

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

Users online (21,295)