cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper II
Helper II

Leave Request App - Manager not able to view my Requests

Leave Request App - Manager not able to view my Requests.

Manager gets the email but do not see my request in the app.

 

17 REPLIES 17
Highlighted
Community Support
Community Support

Re: Leave Request App - Manager not able to view my Requests

Hi @SoB ,

Did you make some changes about submitting request?

I've made a similar test but not met the same problem like your description.

In my test, the manger could see employee's request.

Here's my test:
1)formula about displaying request:

Sort(
    If( _requestTypeFilter="All",
      Filter(LeaveCollection, If(_managerView, Approver = _myProfile.UserPrincipalName, Requester = _myProfile.UserPrincipalName)), 
      Filter(LeaveCollection, Status=_requestTypeFilter && If(_managerView, Approver = _myProfile.UserPrincipalName, Requester = _myProfile.UserPrincipalName)) ), StartDate, Descending)

2)formula about submitting request:

 Patch(LeaveCollection, If(_editingRequest, LookUp(LeaveCollection, LeaveID = GalleryRequests.Selected.LeaveID), Defaults(LeaveCollection)),
        {
            Title: TextInput1.Text,
            Detail: TextInput1_1.Text,
            StartDate: LeaveStartDatePicker.SelectedDate,
            EndDate: LeaveEndDatePicker.SelectedDate,
            LeaveType: _selectedLeaveType.type,
            Approver: _selectedApprover.UserPrincipalName,
            Status: "Pending",
            Requester: _myProfile.UserPrincipalName,
            LeaveID: If(_editingRequest, GalleryRequests.Selected.LeaveID, Text(Now(), DateTimeFormat.LongDateTime24) & _myProfile.UserPrincipalName)

Best regards,

Community Support Team _ Phoebe Liu

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Helper II
Helper II

Re: Leave Request App - Manager not able to view my Requests

@v-yutliu-msft 

Thanks,

Both the codes mentioned by you are same for me but,

In my organization - we dont have 'manager' for Email-Outlook profiles, so, I have made these changes:

 

1. Set the manager here:

image.png

 

 

 

2. Set the 'Send Email' to this manager

image.png

 

I wan to keep the manager fixed for this project.

 

Note:

** If i keep MY email Id as 'Manager' then i am able to view my submitted leaves but when i give any other email ID/My Manager's email Id as 'Manager', then my Leave request is not Visible to Manager.

But i am able to receive the emails.

 

(mentioned email id is sample)

 

Thanks!

 

Highlighted
Helper I
Helper I

Re: Leave Request App - Manager not able to view my Requests

bump..

I have the same issue. If I send it to my self as a  manager I can see the request, but if I try to send it to other user they couldn't see any request  from the requester.

thank you

Highlighted
Helper II
Helper II

Re: Leave Request App - Manager not able to view my Requests

@RezaDorrani 

Can you help with this.

Highlighted
Helper II
Helper II

Re: Leave Request App - Manager not able to view my Requests

@hh01Let us know the solution if you find one.

Do you have 'Manager' set up in your outlook/Azure profile ?

Highlighted
Dual Super User
Dual Super User

Re: Leave Request App - Manager not able to view my Requests

@SoB 

 

I would have to try this App out and test it

I will see if I get some time later in the week

 

Highlighted
Helper I
Helper I

Re: Leave Request App - Manager not able to view my Requests

@SoB  yes, all set up. But still can't see any request if I send it to manager. 

Highlighted
Helper II
Helper II

Re: Leave Request App - Manager not able to view my Requests

@Pstork1Any help in this scenario.

Highlighted
Dual Super User II
Dual Super User II

Re: Leave Request App - Manager not able to view my Requests

Two things to check.

1) Since you are hard coding the manager, make sure the right manager is displayed in the collection after the request is made.  I found an issue with this out of the box, explained in #2

2) Make sure you've added th Office365 users and Office 365 connections to the app.  These are not generated by the project and will cause problems if they don't exist.  In terms of manager I found that the lack of an Office 365 connector was causing the request to default to the current user even when you manually changed the manager.

 

The manager settings are tracked in various places in the app.  Since you are hard coding it make sure that you make the changes in all the places needed.  I would start by looking at the requests collection after you create a request to make sure its assigned to the right manager.  That is the field used when displaying requests to the manager.  If its not set right they won't see it.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Helpful resources

Announcements
Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,017)