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 :
Power Platform Community / Forums / Power Automate / refer one field in ano...
Power Automate
Unanswered

refer one field in another in the same action

(0) ShareShare
ReportReport
Posted on by 18

Hi,

in the screen shot bellow, I would like the end time to refer to the start time,

end time=start time +5 days.

I am using adddDays function but i do not know how to call for the variable start time.

thanks for your help.

Yann78_0-1693799640989.png

this string doesn't work

Yann78_0-1693799830559.png

 

 

Categories:
I have the same question (0)
  • ManishSolanki Profile Picture
    15,091 Super User 2025 Season 2 on at
    Re: refer one field in another in the same action

    Hi @Yann78 

     

    Pls initialize a variable that holds the start time. Here I have captured the current time using utcnow() function in the variable:

    ManishSolanki_0-1693801082130.png

     

    Next, I pass this variable directly into the 'Start Time' parameter. In 'End Time', I added 5 hours using the expression as shown below:

    ManishSolanki_1-1693801213404.png

    Expression used in the 'End time':

    addHours(variables('startTime'),5)

    Pls note that the start & end time accepts date time in 'yyyy-MM-ddTHH:mm.ssZ' format (e.g. 2023-09-04T04:15:43.3607360Z)

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

  • Verified answer
    Yann78 Profile Picture
    18 on at
    Re: refer one field in another in the same action

    thanks you. That's not a direct method, but it does the trick, I'll use it.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard