Column name is called Employee Name (names in the column are showing as Last name, First Name)
The Filter Query I typed:
Employee Name/EMail eq ‘varLoggedinUserEmail’
Error message:
The expression “Employee Name/EMail eq ‘there is an email address here'” is not valid. Creating query failed.
clientRequestId: fa3d8621-524a-4170-a2ed-c0d774bd2d6b
serviceRequestId: fa3d8621-524a-4170-a2ed-c0d774bd2d6b
Hello Andri,
I was running into the same issue as well and found this resource below very very helpful to avoid the dreaded “apply to each” container that gets put around the Total Leaves data compose connector.
source: https://pnp.github.io/blog/post/avoid-unnecessary-looping-apply-to-each-in-power-automate/
Create an expression: first(body(‘Get_items_Total_Leaves’)[‘value’])[‘TotalLeaves’]
This will allow you to compose the data without the apply to each. This expression can be used for just about all arrays that forcibly get added to the “apply to each” container
Hope this helps! I know I was struggling with this for many days and needed desperate help.
]]>Kind regards,
]]>Now what I want is if the manager approves the leave the balance leave columns should get updated .Also I have added a question in column where employee specify the exact count of leave apart from start and end date of leave
]]>