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?
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?
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
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
WarrenBelz
146,651
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,999
Most Valuable Professional