web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Setting Planner Due Da...
Power Automate
Answered

Setting Planner Due Date -7 days before 'Event Date'

(0) ShareShare
ReportReport
Posted on by 453

Hello,

 

I have an issue with I was hoping someone could please help with. I have tried various ways suggested online but nothing seems to be working.

 

Essentially, I have a form that asks for an Event Date, this info is stored on a SharePoint List, and then it creates a Task in Planner.

 

I need the Due Date of the Planner task to be -7 days from the date selected for Event Date.

 

This is what I have tried but getting an error. Various different guides suggest this is the correct way though, am i missing something?

 

JoshPullan11_1-1686753181922.png

 

JoshPullan11_0-1686753048697.png

 

I have checked in SharePoint and the column Event Date is definitely set to 'Date and Time'.

 

Any help would be greatly appreciated.

 

Thanks

 

Categories:
I have the same question (0)
  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @jap11,

    Could you please show me the completed flow, where did you get this event date?

  • Verified answer
    Jap11 Profile Picture
    453 on at

    Hi @v-qiaqi-msft -

     

    I eventually figured it out by using this

     

    addDays(outputs('Get_response_details')?['body/r02bb57d0dbaf490584201151e78c03e7'], -7)
     
    I was assuming it would just get 'Event Date' from the outputs but instead i selected the Dynamic content for 'Event Date' which changed the expression to the above. This worked 🙂

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 463

#1
Valantis Profile Picture

Valantis 463

#3
11manish Profile Picture

11manish 264

Last 30 days Overall leaderboard