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

Community site session details

Session Id : zoTvzsOHJM1E4+FWk4KHp/
Power Automate - General Discussion
Answered

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

Like (0) ShareShare
ReportReport
Posted on 14 Jun 2023 14:35:19 by 352

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

 

I have the same question (0)
  • Verified answer
    Jap11 Profile Picture
    352 on 15 Jun 2023 at 08:16:12
    Re: Setting Planner Due Date -7 days before 'Event Date'

    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 🙂
  • v-qiaqi@microsoft.com Profile Picture
    on 15 Jun 2023 at 04:02:16
    Re: Setting Planner Due Date -7 days before 'Event Date'

    Hi @jap11,

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

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Loading started
Loading complete