cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AmandaW
Regular Visitor

Does infopath work with flow?

So i have a flow that works just fine to approve/reject a new list item in SharePoint.  If the approver doesn't approve or reject in a specified amount of time a reminder email is generated.  I have not found a way to embed the approval into a reminder email so I'm wondering if I can hide the approve/reject buttons in the infopath form and when the approver clicks the link to item to approve/reject they will be there and then continue my flow? If not is there any other way to get the flow to terminate after the button is clicked from within the form? I don't want the reminder emails to continue to be sent if the item has been approved or rejected and the list item updated directly from infopath. thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
ScottShearer
Most Valuable Professional
Most Valuable Professional

@AmandaW 

First, one technique that I have used in approval reminder emails is to include a link to https://flow.microsoft.com in the email.  If there are outstanding items for an approver, they will show on the default Flow page.

Also, when I do reminder emails, I put the reminder email actions in a parallel branch.  I also use a boolean variable that I initialize to false.  I set the variable to true immediately after my approval action.  Before I send the reminder email, I check the status of the variable - if it is true, then I don't send the email.  Finally, my reminder email actions are in a do until loop that runs until the variable is true.

If you use this concept, be sure to click on change limits and change the max duration of the do until loop - it defaults to just one hour.

The bottom line is that there is no need for InfoPath.

ReminderEmail.jpg

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

3 REPLIES 3
ScottShearer
Most Valuable Professional
Most Valuable Professional

@AmandaW 

First, one technique that I have used in approval reminder emails is to include a link to https://flow.microsoft.com in the email.  If there are outstanding items for an approver, they will show on the default Flow page.

Also, when I do reminder emails, I put the reminder email actions in a parallel branch.  I also use a boolean variable that I initialize to false.  I set the variable to true immediately after my approval action.  Before I send the reminder email, I check the status of the variable - if it is true, then I don't send the email.  Finally, my reminder email actions are in a do until loop that runs until the variable is true.

If you use this concept, be sure to click on change limits and change the max duration of the do until loop - it defaults to just one hour.

The bottom line is that there is no need for InfoPath.

ReminderEmail.jpg

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

@ScottShearer Thank you so much , your response was most helpful.  Just out of curiousity, if one did not put the variable in there and just had the approval/rejection done from the https://flow.microsoft.com/ page,  would the flow terminate if I put a terminate upon success action in my flow?

ScottShearer
Most Valuable Professional
Most Valuable Professional

@AmandaW 

Yes, placing a terminate action after the approval action would very definitely terminate the Flow and stop any additional reminder emails.  I sometimes use this technique.  If you use a terminate action, make sure to set it to "success" so it doesn't look like an error was generated.

I presented the solution using the variable to account for situations where there may be additional work to be done in the Flow after the approval takes place.  If there is more work for Flow to do after the approval, then using a terminate action is not an option.

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

Helpful resources

Announcements

Check out the Copilot Studio Cookbook today!

We are excited to announce our new Copilot Cookbook Gallery in the Copilot Studio Community. We can't wait for you to share your expertise and your experience!    Join us for an amazing opportunity where you'll be one of the first to contribute to the Copilot Cookbook—your ultimate guide to mastering Microsoft Copilot. Whether you're seeking inspiration or grappling with a challenge while crafting apps, you probably already know that Copilot Cookbook is your reliable assistant, offering a wealth of tips and tricks at your fingertips--and we want you to add your expertise. What can you "cook" up?   Click this link to get started: https://aka.ms/CS_Copilot_Cookbook_Gallery   Don't miss out on this exclusive opportunity to be one of the first in the Community to share your app creation journey with Copilot. We'll be announcing a Cookbook Challenge very soon and want to make sure you one of the first "cooks" in the kitchen.   Don't miss your moment--start submitting in the Copilot Cookbook Gallery today!     Thank you,  Engagement Team

Tuesday Tip | How to Report Spam in Our Community

It's time for another TUESDAY TIPS, your weekly connection with the most insightful tips and tricks that empower both newcomers and veterans in the Power Platform Community! Every Tuesday, we bring you a curated selection of the finest advice, distilled from the resources and tools in the Community. Whether you’re a seasoned member or just getting started, Tuesday Tips are the perfect compass guiding you across the dynamic landscape of the Power Platform Community.   As our community family expands each week, we revisit our essential tools, tips, and tricks to ensure you’re well-versed in the community’s pulse. Keep an eye on the News & Announcements for your weekly Tuesday Tips—you never know what you may learn!   Today's Tip: How to Report Spam in Our Community We strive to maintain a professional and helpful community, and part of that effort involves keeping our platform free of spam. If you encounter a post that you believe is spam, please follow these steps to report it: Locate the Post: Find the post in question within the community.Kebab Menu: Click on the "Kebab" menu | 3 Dots, on the top right of the post.Report Inappropriate Content: Select "Report Inappropriate Content" from the menu.Submit Report: Fill out any necessary details on the form and submit your report.   Our community team will review the report and take appropriate action to ensure our community remains a valuable resource for everyone.   Thank you for helping us keep the community clean and useful!

Hear what's next for the Power Up Program

Hear from Principal Program Manager, Dimpi Gandhi, to discover the latest enhancements to the Microsoft #PowerUpProgram, including a new accelerated video-based curriculum crafted with the expertise of Microsoft MVPs, Rory Neary and Charlie Phipps-Bennett. If you’d like to hear what’s coming next, click the link below to sign up today! https://aka.ms/PowerUp  

November 2023 User Group Update: Welcoming New Groups and Upcoming Events

A new month means it's time to celebrate and welcome the new user groups that have joined our community. We are excited to announce that we have more than 25 NEW GROUPS, which is no surprise after the amazing Microsoft Power Platform Conference. This month, we are breaking them out by the different community categories. If your group is listed here, give this post a kudo so we can celebrate with you!Don't forget to take a look at the many events happening near you or virtually! It's a great time of year to connect and engage with User Groups both locally and online.   Please Welcome Our NEW User Groups   Fabric:Fabric & Power BI User GroupData Governance EnthusiastsDFW Fabric Unified Data and AnalyticsMelbourne fabric user groupMicrosoft Fabric User GroupUK Automotive + Transport | Fabric | PowerBI | DataTeesside University PowerBI by Women for WomenManufacturing User Group Power Platform:New Hampshire Power Platform User GroupUnited States Virtual Power Platform User GroupMiami Power UsersBlack Excellence In The Power PlatformPower Platform User Group UgandaDevSecOps IntegrationBlack Women in Tech Oct 9 GroupHealthcare Life Sciences Power User GroupMicrosoft Learn Student Ambassador - Dominican RepublicNWA Power Platform User GroupOklahoma Power Platform CommunityPower Platform User Group Aba   Power Apps:RTP Power Apps User Group Powerapps Honduras   Dynamics365:Dynamics 365 CRM User Group - Dallas and Surrounding AreasDUG4MFG | Microsoft Dynamics & Power Platform - Worldwide   Events:   In Person:Introduction to Microsoft Fabric - In PersonNovember Cleveland Power Platform User Group meeting- In PersonDynUG Høstkonferanse 2023- In PersonPowerAddictsNL Live @Rubicon- In PersonNew Zealand Business Applications Summit- In Person Manchester November 2023 In Person Meeting- In PersonQ4- South West Dynamics 365 and Power Platform User group- In PersonReading Dynamics 365 & Power Platform User Group (Q4)- In PersonDynUG Høstkonferanse 2023- In PersonCambridge in-person meeting - 16th Nov 2023- In Person   Virtual: Git Integration with Power BI- VirtualFabric Product Team present | Fabric for Power BI Users- Virtual DynUG Høstkonferanse 2023- VirtualAzure Data Factory Design Patterns- VirtualZürich - 51st Fabric User Group [ONLINE]- Virtual PAK Time (Power Apps Kwentuhan) #4- Virtual Portallunsj - November 2023- Hybrid Dallas Nov 2023 Power Platform UG Meetup- Virtual What I learned at Summit 2023- Virtual

Back to Basics Tuesday Tip #6: Community User Groups and YOU

This is the sixth post in our series dedicated to helping the amazing members of our community--both new members and seasoned veterans--learn and grow in how to best engage in the community! Each Tuesday, we feature new content that will help you best understand the community--from ranking and badges to profile avatars, from Super Users to blogging in the community. Our hope is that this information will help each of our community members grow in their experience with Power Platform, with the community, and with each other!   Today's Tip: All About User Groups Being part of, starting, or leading a User Group can have many great benefits for our community members who want to learn, share, and connect with others who are interested in the Microsoft Power Platform and the low-code revolution. Some of the benefits are: Network with like-minded peers and product experts, and get in front of potential employers and clients.Learn from industry experts and influencers and make your own solutions more successful.Access exclusive community space, resources, tools, and support from Microsoft.Collaborate on projects, share best practices, and empower each other. These are just a few of the reasons why our community members love their User Groups. Don't wait. Get involved with (or maybe even start) a User Group today--just follow the tips below to get started.For current or new User Group leaders, all the information you need is here: User Group Leader Get Started GuideOnce you've kicked off your User Group, find the resources you need: Community User Group ExperienceHave questions about our Community User Groups? Let us know! We are here to help you!Missed any of our Back to Basics Tuesday Tips? Get caught up with the whole series here:  Back to Basics Tuesday Tips Series   

Microsoft Business Applications Launch Event introduces wave of new AI-powered capabilities for Dynamics 365 and Power Platform

Yesterday, at the Microsoft Business Applications Launch Event, Microsoft kicked off the 2023 release wave 2 for Microsoft Dynamics 365 and Microsoft Power Platform, a six-month rollout of new and enhanced capabilities scheduled for release between October 2023 and March 2024.   This release wave introduces hundreds of new features across Microsoft Power Platform applications, including enhanced capabilities for governance, administration, and professional development. Updates for Dynamics 365 include innovation to help employees be more productive, create exceptional customer experiences and deepen relationships, and drive meaningful growth across the business.   This release also features new AI capabilities in Copilot—which more than 130,000 organizations have now experienced—that help to improve insights, save time, and enhance creativity across Dynamics 365 and Microsoft Power Platform. Read the entire news release and get all the details from the official blog from Microsoft CVP, Charles Lamanna: Microsoft Business Applications Launch Event introduces new AI capabilities - Microsoft Dynamics 365 Blog 

Users online (4,265)