Skip to content

Enhance the beta graph endpoint for approvalitems to be able to filter on state (and other properties) #3028

@trillian74

Description

@trillian74

Is your feature request related to a problem? Please describe the problem.

I am trying to create a sharepoint online dashboard card showing pending workflow actions as an approver, but i am not able to get my pending approvals where i am the approver. Below you see what works, but i'd like to filter it server side to return the 10 latest pending items where i am an approver...

https://graph.microsoft.com/beta/solutions/approval/approvalItems?$filter=viewPoint/roles/any(r:+r+eq+'approver')&$orderby=createdDateTime desc

Describe the solution you'd like.

Basically, allow ordinary odata filtering on at least the ones that makes sense... state, result, createdDateTime, completedDateTime

Additional context?

I know that this in preview, but approvals has become such a big thing in our company that we need to extract this in other areas not only the teams app for approvals... sidenote: also the support for other environments if its not originated in the default environment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions