Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Adding days to an existing date field using flow

(0) ShareShare
ReportReport
Posted on by 23

Hi,

I am trying to build a flow for a task list that recreate the tasks based on a specific frequency. I have tasks that are weekly, monthly, and so on. Since the tasks don't change, my flow just takes the existing tasks and recreate them while setting the status field to outstanding and adding, for example, 7 days to the due date for a weekly task. In the images you can see that I am telling my flow to filter for only items that are created in the past 7 days to avoid  recreating the same task more than once, since the same task gets recreated every week but just with a different due date. However, I can't seem to be able to find an addDays formula that works for this specific case and tried all the solutions given to similar cases online. I think this might be due to using the Get Items action which limits the dynamic fields available to insert in the addDays formula, but I don't know any work around. I would appreciate any help!

Thanks in advance,

1.PNGimage.png3.PNG4.PNG

  • Community Power Platform Member Profile Picture
    on at
    Re: Adding days to an existing date field using flow

    HI,
    i want to add 28 days to existing date only field and i want to store that output in a date only field of other coulmn.. can someone help me on it.

  • Verified answer
    v-alzhan-msft Profile Picture
    on at
    Re: Adding days to an existing date field using flow

    Hi @Power_Aissam ,

     

    Does your problem still exists?

    I afraid that there are some items' DueDateW column value is null, please re-check the column's value in the list.

    Also you could add a Check inside your Condition as below:

    1.png

     

     

     

    Best regards,

    Alice       

     

    Community Support Team _ Alice Zhang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Power_Aissam Profile Picture
    23 on at
    Re: Adding days to an existing date field using flow

    Hi @yashag2255 ,

     

    Yes, there is no null value and that's why I am confused with this error message. 

    image.png

  • yashag2255 Profile Picture
    24,580 Super User 2024 Season 1 on at
    Re: Adding days to an existing date field using flow

    Hi @Power_Aissam 

     

    Can you confirm that there is data in the DueDatew field in SP? The error states that this field is null (has no value/inputs stored)

  • Power_Aissam Profile Picture
    23 on at
    Re: Adding days to an existing date field using flow

    Hi @yashag2255 

    Thanks for your reply. I keep getting this error message even if I changed the column type of DueDateW to date & time. It is quite frustrating. I would apprecite your insights.

     

    1.PNG

  • yashag2255 Profile Picture
    24,580 Super User 2024 Season 1 on at
    Re: Adding days to an existing date field using flow

    Hi @Power_Aissam 

     

    You can try using this expression:

    addDays(items('Apply_to_each')?['DueDatew'],7)

    Note: You can access the fields for the current item of the list by using the items(loopname)?['column name']. 

     

    Hope this Helps!

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1