cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
VikasNagaraj
Helper V
Helper V

Leave request app

Hi,

 

I am working on leave request app, the approval dashboard comes up empty. Both my Manager or My HR is not able to see any requests in the Approval Dashboard. 

Filter(
'Leave Request',
(Status.Value = "Pending Manager Approval" && Manager.Email = User().Email)|| (Status.Value = "Pending HR Approval" && HR.Email = User().Email)
)

VikasNagaraj_0-1638199413028.png

And i have a approval flow but i have this error

VikasNagaraj_1-1638199470748.png

Thank you.

1 ACCEPTED SOLUTION

Accepted Solutions

@poweractivate Thank you for the reply. The dashboard issue is solved. here is the link.

https://powerusers.microsoft.com/t5/Building-Power-Apps/Leave-request-app-Approval-dashboard/m-p/136...

I will have to do something about the flow now.

View solution in original post

2 REPLIES 2
poweractivate
Super User
Super User

@VikasNagaraj 

 

1. Put only this:

Filter(
'Leave Request',
(Status.Value = "Pending Manager Approval")
)

 

See if the above works.

 

If the above doesn't work, remove the filter, and see if any results show even then. If not, the problem is not with the Filter, but with something else.

 

2. The Flow was created with the Trigger having 3 parameters, but you were calling it with only 2 arguments in the Formula. Go to the Flow itself in Power Automate, open the Flow for editing, and check what the three parameters are as defined in the Flow. You may also sometimes be able to know of it by just the IntelliSense on the Power Apps in the formula bar, but if that doesn't help, go open up the Flow, look at the trigger, and see what the parameters are, then adjust the Formula to have 3 arguments and in the proper way, instead of 2.

 

Check if above helps.

@poweractivate Thank you for the reply. The dashboard issue is solved. here is the link.

https://powerusers.microsoft.com/t5/Building-Power-Apps/Leave-request-app-Approval-dashboard/m-p/136...

I will have to do something about the flow now.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (2,146)