cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mennoov
Frequent Visitor

Flow does not filter on "Created By" SP List

Hi everyone,

This is an app intended to register your hours. Then I want to use a flow to ensure that this flow filters on the '' Created By '', and then starts a flow, and sends an email to the manager. This manager is the same for everyone. As a result, the manager receives a separate email with the hours for each employee. Now when I do it as in the screenshot, it is not filtered by person now. How do I do this?

 

Thanks in advance!

 

Error filtering persons (1).PNG

1 ACCEPTED SOLUTION

Accepted Solutions
v-alzhan-msft
Community Support
Community Support

Hi @mennoov ,

 

When you add a Filter Array action under the Get items, you need to use the expression from the Filter Array instead of from the Get items in the following steps as screenshot below:

1.png

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

2 REPLIES 2
sudharsan1985
Solution Sage
Solution Sage

Hi @mennoov 

You don't really need the action Filter Array to filter the items returned from Get Items action. You can directly filter the items that have to be returned using Filter Query property. Paste the below condition on Filter Query property of your Get Items action with the email that you need to filter.

Author/EMail eq '<user email id to be filtered>'

 

Hope it helps, please like it or mark it as a solution if it resolves your clarification or issue
-Sudharsan K...
v-alzhan-msft
Community Support
Community Support

Hi @mennoov ,

 

When you add a Filter Array action under the Get items, you need to use the expression from the Filter Array instead of from the Get items in the following steps as screenshot below:

1.png

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

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

Community Calls Conversations

Community Calls Conversations

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

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,492)