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

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

 

 

I have the same question (0)
  • ManishSolanki Profile Picture
    15,089 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

Responsible AI policies

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

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 722 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 461 Moderator

#3
developerAJ Profile Picture

developerAJ 283

Last 30 days Overall leaderboard