Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Integration of flows with custom sites - approvalsFilter - is poorly / not documented

(0) ShareShare
ReportReport
Posted on by 58

The scenario is simple - we have a vacation request application, that is developed on SharePoint Online (SPFX) with the actual approval process running in MS Flow. 

 

We would like to add the posibility to show the approval requests for a user, directly in the SharePoint page. 

 

In this article you describe how to integrate the flow widgets in custom sites / apps: 

https://docs.microsoft.com/en-us/flow/developer/embed-flow-dev

 

There is a mention of a parameter called approvalsFilter - but there is no real documentation of what properties can be filtered, and what filters we can use (ne, contains, gt, le???). 

 

For example - how could i filter all requests that have "Leave request" in the title?

  • manoj-negi Profile Picture
    11 on at
    Re: Integration of flows with custom sites - approvalsFilter - is poorly / not documented

    We are also facing the same issues. We also noticed that in some other post the same issue is reported but there is no response from development team on this issue as well. We are not sure why documentation has not been updated.

     

    https://powerusers.microsoft.com/t5/Using-Flows/Approvals-Widget-approvalsFilter/td-p/752868

     

    Could you please let us know what ApprovalFilters we can use for this?

  • Abhishek Gawde Profile Picture
    96 on at
    Re: Integration of flows with custom sites - approvalsFilter - is poorly / not documented

    Hi @SPDaniel 

     

    Were you able to figure this out?

     

    Best,

    Abhishek

  • SPDaniel Profile Picture
    58 on at
    Re: Integration of flows with custom sites - approvalsFilter - is poorly / not documented

    Hi Rob, 

     

    Thats not exactly what we are after.

     

    We want to allow the user to approve / reject approval requests directly from the sharepoint page - without first navigating away to the flow approval list.

     

    https://docs.microsoft.com/en-us/flow/developer/embed-flow-dev - describes exactly what we need, with the one observation: approvalsFilter does not provide a list of operations and a real schema of what we can filter.

     

    So basically we would need someone to explain what other filter operators are available and what limitations we  have on the properties we can filter on. 

     

    Regards,

    Daniel

  • RobElliott Profile Picture
    10,118 Super User 2025 Season 1 on at
    Re: Integration of flows with custom sites - approvalsFilter - is poorly / not documented

    If I understand you correctly you want to show to a user the vacation requests they have submitted on the SharePoint page. To do this you need a view of the vacation requests list in SharePoint with the filter set to Created by is equal to [Me]. You could name this MyLeaveRequests.

    Then on the SharePoint page add a list web part and edit it and select MyLeaveRequests as the view. Every user who then views the page will only see their vacation requests.

    Rob
    Los Gallardos

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