Leave Request App - Manager not able to view my Requests.
Manager gets the email but do not see my request in the app.
Hi @Anonymous ,
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
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:
2. Set the 'Send Email' to this manager
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!
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
@AnonymousLet us know the solution if you find one.
Do you have 'Manager' set up in your outlook/Azure profile ?
@Anonymous
I would have to try this App out and test it
I will see if I get some time later in the week
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.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
192 | |
47 | |
43 | |
39 | |
36 |
User | Count |
---|---|
284 | |
81 | |
80 | |
80 | |
71 |