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 Automate
Answered

Dynamic AddMinitues

(0) ShareShare
ReportReport
Posted on by 5,331 Moderator

Back to square one...

I've got the following delivering the date desired based on a hard-coded date in the expression of the 'Create item'.

I have a test list of eight items. All eight have the same datetime. How do I make the output dynamic, so that they are specific to each item as it loops through?

The date fields currently have (or similar) -

     addMinutes('10/1/2022  10:48:47 AM',420)
Phineas_1-1680035365835.png

 


Phineas_0-1680035219924.png

 

Categories:
I have the same question (0)
  • Verified answer
    Expiscornovus Profile Picture
    33,830 Most Valuable Professional on at

    Hi @Phineas,

     

    You can make it dynamic by replacing that datetime stamp value by a reference to a field of the current item within your loop.

     

    Below would be such syntax

     

     

    addMinutes(item()['NameOfDateField'],420)

     

     

     

     

  • Phineas Profile Picture
    5,331 Moderator on at

    Bless you, kind sir!🖖

    That only took me three days to figure out!🤣

  • Phineas Profile Picture
    5,331 Moderator on at

    Stop the presses!

    Still not working, completely. This is the issue I've been having all along. The flow will fire and get through a couple and then kick back and invalid date format or a 'null' value error.

    Phineas_2-1680101175290.png

     

    Phineas_1-1680101025408.png

     

     

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 608

#2
Valantis Profile Picture

Valantis 416

#3
11manish Profile Picture

11manish 348

Last 30 days Overall leaderboard