Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Does infopath work with flow?

(0) ShareShare
ReportReport
Posted on by 19

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!

  • ScottShearer Profile Picture
    25,208 Most Valuable Professional on at
    Re: Does infopath work with flow?

    @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.

     

     

  • AmandaW Profile Picture
    19 on at
    Re: Does infopath work with flow?

    @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?

  • Verified answer
    ScottShearer Profile Picture
    25,208 Most Valuable Professional on at
    Re: Does infopath work with flow?

    @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

     

     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,651 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow