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
Hi @Anonymous,
You can use the addDays function to calculate a date 5 days in the future. The expression would be:
addDays(UtcNow(), 5)
Thanks for the reply ill give that expression a try for sure. for some reason having bigger issues this morning i cant even get my flow to grab any data at all from the SharePoint list.
Hi @Anonymous,
If you need any additional help configuring that let us know.
Btw, below is an example on how you could use that expression in a condition action.
This example shows how you can retrieve vacation list items which have a startdate (datetime column) of 5 days or more in the future.
The condition itself is:
formatDateTime(items('Apply_to_each')?['StartDate'], 'yyyy-MM-dd')
is greater than or equal to
addDays(utcNow(), 5, 'yyyy-MM-dd')
thanks again for the reply. i was able to get my data to be pulled but i found what you tried to do and kept getting error msg.
i tried this - but didn't work still pulled all data from like years ago.
when i tried what you advised i got this error -
i feel like I'm getting close!
Hi @Anonymous,
The expression I shared refers to an action called Apply to Each. In your case the first apply to each action is called Apply to Each 3.
You can change the expression to reflect the correct action name.
formatDateTime(items('Apply_to_each_3')?['StartDate'], 'yyyy-MM-dd')
Also make sure you change the expression to use the correct column name. In my example it was called StartDate, yours is StartTime as what I can tell from the first screenshot.
thanks again for the reply i gave it a shot but got this error msg now -
Hi @Anonymous,
Is your StartTime a required field? Or is it possible that in your Vacation list you have items were this column is empty?
Morning,
the three fields i am trying to pull our Name(Title) - Start Time - End Time and all three of those fields have data but for some reason its either pulling all data from years of vacation time or its not pulling any data at all with specific conditions.
Hi @Anonymous,
Can you double check in the Vacation List Settings what the internal names of your Start Time and End Time are? It might be possible that those are Start_x0020_Time & End_x0020_Time.
If that is the case we need to change the expression to reflect the correct field names.
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.
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.
2. Click on the Start Time column in the Columns section.
3. Check what the name is in the address bar. That internal name can be different from the Display Name.
4. Also check this for your End Time 🙂
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
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')
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 -
Hi @Anonymous,
That new expression should still give you items which have a Start Time 5 days from now.
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
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.
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
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.
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')
2. Select the correct operator from the dropdown list. In this case it should be is equal to.
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')
Hopefully this is a bit clearer on how to configure the condition.
Dear Community Members, We'd like to let you know of an upcoming change to the community platform: starting July 16th, the platform will transition to a READ ONLY mode until July 22nd. During this period, members will not be able to Kudo, Comment, or Reply to any posts. On July 22nd, please be on the lookout for a message sent to the email address registered on your community profile. This email is crucial as it will contain your unique code and link to register for the new platform encompassing all of the communities. What to Expect in the New Community: A more unified experience where all products, including Power Apps, Power Automate, Copilot Studio, and Power Pages, will be accessible from one community.Community Blogs that you can syndicate and link to for automatic updates. We appreciate your understanding and cooperation during this transition. Stay tuned for the exciting new features and a seamless community experience ahead!
We are excited to announce the Summer of Solutions Challenge! This challenge is kicking off on Monday, June 17th and will run for (4) weeks. The challenge is open to all Power Platform (Power Apps, Power Automate, Copilot Studio & Power Pages) community members. We invite you to participate in a quest to provide solutions to as many questions as you can. Answers can be provided in all the communities. Entry Period: This Challenge will consist of four weekly Entry Periods as follows (each an “Entry Period”) - 12:00 a.m. PT on June 17, 2024 – 11:59 p.m. PT on June 23, 2024 - 12:00 a.m. PT on June 24, 2024 – 11:59 p.m. PT on June 30, 2024 - 12:00 a.m. PT on July 1, 2024 – 11:59 p.m. PT on July 7, 2024 - 12:00 a.m. PT on July 8, 2024 – 11:59 p.m. PT on July 14, 2024 Entries will be eligible for the Entry Period in which they are received and will not carryover to subsequent weekly entry periods. You must enter into each weekly Entry Period separately. How to Enter: We invite you to participate in a quest to provide "Accepted Solutions" to as many questions as you can. Answers can be provided in all the communities. Users must provide a solution which can be an “Accepted Solution” in the Forums in all of the communities and there are no limits to the number of “Accepted Solutions” that a member can provide for entries in this challenge, but each entry must be substantially unique and different. Winner Selection and Prizes: At the end of each week, we will list the top ten (10) Community users which will consist of: 5 Community Members & 5 Super Users and they will advance to the final drawing. We will post each week in the News & Announcements the top 10 Solution providers. At the end of the challenge, we will add all of the top 10 weekly names and enter them into a random drawing. Then we will randomly select ten (10) winners (5 Community Members & 5 Super Users) from among all eligible entrants received across all weekly Entry Periods to receive the prize listed below. If a winner declines, we will draw again at random for the next winner. A user will only be able to win once overall. If they are drawn multiple times, another user will be drawn at random. Individuals will be contacted before the announcement with the opportunity to claim or deny the prize. Once all of the winners have been notified, we will post in the News & Announcements of each community with the list of winners. Each winner will receive one (1) Pass to the Power Platform Conference in Las Vegas, Sep. 18-20, 2024 ($1800 value). NOTE: Prize is for conference attendance only and any other costs such as airfare, lodging, transportation, and food are the sole responsibility of the winner. Tickets are not transferable to any other party or to next year’s event. ** PLEASE SEE THE ATTACHED RULES for this CHALLENGE** Week 1 Results: Congratulations to the Week 1 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Community MembersNumber SolutionsSuper UsersNumber Solutions Deenuji 9 @NathanAlvares24 17 @Anil_g 7 @ManishSolanki 13 @eetuRobo 5 @David_MA 10 @VishnuReddy1997 5 @SpongYe 9JhonatanOB19932 (tie) @Nived_Nambiar 8 @maltie 2 (tie) @PA-Noob 2 (tie) @LukeMcG 2 (tie) @tgut03 2 (tie) Week 2 Results: Congratulations to the Week 2 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 2: Community MembersSolutionsSuper UsersSolutionsPower Automate @Deenuji 12@ManishSolanki 19 @Anil_g 10 @NathanAlvares24 17 @VishnuReddy1997 6 @Expiscornovus 10 @Tjan 5 @Nived_Nambiar 10 @eetuRobo 3 @SudeepGhatakNZ 8 Week 3 Results: Congratulations to the Week 3 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 3:Community MembersSolutionsSuper UsersSolutionsPower Automate Deenuji32ManishSolanki55VishnuReddy199724NathanAlvares2444Anil_g22SudeepGhatakNZ40eetuRobo18Nived_Nambiar28Tjan8David_MA22 Week 4 Results: Congratulations to the Week 4 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 4:Community MembersSolutionsSuper UsersSolutionsPower Automate Deenuji11FLMike31Sayan11ManishSolanki16VishnuReddy199710creativeopinion14Akshansh-Sharma3SudeepGhatakNZ7claudiovc2CFernandes5 misc2Nived_Nambiar5 Usernametwice232rzaneti5 eetuRobo2 Anil_g2 SharonS2
On July 16, 2024, we published the 2024 release wave 2 plans for Microsoft Dynamics 365 and Microsoft Power Platform. These plans are a compilation of the new capabilities planned to be released between October 2024 to March 2025. This release introduces a wealth of new features designed to enhance customer understanding and improve overall user experience, showcasing our dedication to driving digital transformation for our customers and partners. The upcoming wave is centered around utilizing advanced AI and Microsoft Copilot technologies to enhance user productivity and streamline operations across diverse business applications. These enhancements include intelligent automation, AI-powered insights, and immersive user experiences that are designed to break down barriers between data, insights, and individuals. Watch a summary of the release highlights. Discover the latest features that empower organizations to operate more efficiently and adaptively. From AI-driven sales insights and customer service enhancements to predictive analytics in supply chain management and autonomous financial processes, the new capabilities enable businesses to proactively address challenges and capitalize on opportunities.
We're embarking on a journey to enhance your experience by transitioning to a new community platform. Our team has been diligently working to create a fresh community site, leveraging the very Dynamics 365 and Power Platform tools our community advocates for. We started this journey with transitioning Copilot Studio forums and blogs in June. The move marks the beginning of a new chapter, and we're eager for you to be a part of it. The rest of the Power Platform product sites will be moving over this summer. Stay tuned for more updates as we get closer to the launch. We can't wait to welcome you to our new community space, designed with you in mind. Let's connect, learn, and grow together. Here's to new beginnings and endless possibilities! If you have any questions, observations or concerns throughout this process please go to https://aka.ms/PPCommSupport. To stay up to date on the latest details of this migration and other important Community updates subscribe to our News and Announcements forums: Copilot Studio, Power Apps, Power Automate, Power Pages