Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Need some Help with this Vacation list flow i am trying to create

(0) ShareShare
ReportReport
Posted on by

Good Morning all! 

 

i am in the middle of trying to create a flow that grabs our Vacation list on our SharePoint. we have a list that gets created when a  user puts in vacation time and is a list on our SharePoint what I want to do is grab that data but make it so it only grabs and shows from todays date + 5 days. i tried using utcNOW(5) but that formula did not work i am at somewhat a loss. any help would be amazing thanks for taking the time to read this !!

 

Cheers  

  • Expiscornovus Profile Picture
    32,140 Most Valuable Professional on at
    Re: Need some Help with this Vacation list flow i am trying to create

    Hi @Anonymous,


    Just to double check with an example.

     

    Below are four vacation items in a calendar list in my environment. If I would run the flow today (14/09), you would expect Test1 & Test2 to be retrieved because the Start Time is exactly 5 days from today (14/09 + 5).

     

    But Test3 & Test4 are not retrieved because those haven't got a Start Time exactly 5 days from today.

     

    testcalendar.png

     

    If this is what you want can you configure the condition action like below. 

     

    1. Choose a value in the left Condition action field. Make sure you select the Expression tab. Paste in the expression below and press Ok.

     

     

    formatDateTime(items('Apply_to_each')?['EventDate'], 'yyyy-MM-dd')

     

     

    chooseavalue.png

     

    2. Select the correct operator from the dropdown list. In this case it should be is equal to.

     

    selectoperator.png

     

    3. Choose a value in the right Condition action field. Make sure you select the Expression tab. Paste in the expression below and press Ok.

     

     

    addDays(utcNow(), 5 'yyyy-MM-dd')

     

     

    chooseavalue2.png

     

    Hopefully this is a bit clearer on how to configure the condition.

     

  • Community Power Platform Member Profile Picture
    on at
    Re: Need some Help with this Vacation list flow i am trying to create

    Morning,

     

    i still cant get it to work i dont understand it just pulls all the data and not just the range of 5 days 

  • Expiscornovus Profile Picture
    32,140 Most Valuable Professional on at
    Re: Need some Help with this Vacation list flow i am trying to create

    Hi @Anonymous,

     

    All the examples I showed earlier were about how you can retrieve vacation list items which have a startdate (datetime column) of 5 days or more in the future.

     

    So, it makes sense that it is showing all the data, my bad 😅

     

    Can you change the operator in your condition action from is greater than or equal to is equal to.

     

    isequalto.png

  • Community Power Platform Member Profile Picture
    on at
    Re: Need some Help with this Vacation list flow i am trying to create

    Morning I hate to keep on asking for help but it seems to only pull everything from the list not just the specific of 5 days from now. no idea what I am doing wrong. with your previous post what exactly do you mean new expression i tried using Start Time and StartTime which were two fields that popped up but didnt work i also tried EventDate but it doesnt seem to be a valid column. could it be the format the date is coming out as this is what it looks like on my sheet

     

    Ushi_0-1631195180878.png

     

  • Expiscornovus Profile Picture
    32,140 Most Valuable Professional on at
    Re: Need some Help with this Vacation list flow i am trying to create

    Hi @Anonymous,

     

    That new expression should still give you items which have a Start Time 5 days from now.

     

    replacethisbynewexpression.png

  • Community Power Platform Member Profile Picture
    on at
    Re: Need some Help with this Vacation list flow i am trying to create

    Thanks for the reply will that expression still do the same by giving me just 5 days of date from now. i currently have this - 

     

    Ushi_0-1631129679863.png

     

     

     

     

  • Expiscornovus Profile Picture
    32,140 Most Valuable Professional on at
    Re: Need some Help with this Vacation list flow i am trying to create

    Hi @Anonymous,

     

    Thanks for checking.


    If the condition action is still within the Apply to each 3 action the expression for the Start Time should be:

    formatDateTime(items('Apply_to_each_3')?['EventDate'], 'yyyy-MM-dd')

     

  • Community Power Platform Member Profile Picture
    on at
    Re: Need some Help with this Vacation list flow i am trying to create

    Capture3.PNGCapture4.PNG

     

    ohh i think we might be getting close i think those are the real names from the look of the URL let me know what you think now with that info 

  • Expiscornovus Profile Picture
    32,140 Most Valuable Professional on at
    Re: Need some Help with this Vacation list flow i am trying to create

    Hi @Anonymous,

     

    Sorry, I forgot to include the screenshots. Can you check again in the list settings?

     

    1. Navigate to the Vacation list. Click on List settings in the right top menu.

     

    listsettings.png

     

     

    2. Click on the Start Time column in the Columns section.

     

    clickoncolumn.png

     

    3. Check what the name is in the address bar. That internal name can be different from the Display Name.

     

    internalnameofyourfields.png

     

    4. Also check this for your End Time 🙂

  • Community Power Platform Member Profile Picture
    on at
    Re: Need some Help with this Vacation list flow i am trying to create

    Ushi_0-1631115553183.png

     

    i took a look at the list that does the vacation flow and found this and then took a look at the exact list on SharePoint. 

     

    Ushi_1-1631115707308.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

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