Hi,
There is a List and a Form:
List has two columns: Name and Department
Form has several fields including Name.
When user fills the form, flow compares the Name entered in the form to the corresponding entry in the list and sends an email to a designated user with the name and department entry that was fetched from the list.
Problem: My flow is fetching the Name part correctly from the list but instead of fetching the corresponding department, it fetches all the departments from the list.
Can someone help me?
Hi @flowuser-21
I dont see any filter action related to departments?
Use Filter Array data operations action to do so
Regards,
Reza Dorrani
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @flowuser-21 ,
The needs you describe seem to be quite different from the screenshots of the Flow configuration you provide.
The Form you mentioned does not seem to be MS Forms but a SharePoint list, and you want to get a Department with the same name in another list based on the Name contained in one of the lists.
If so, you could consider referring to the configuration below. I have two lists here, one containing Name and the other containing Name and Department.
Besides, for more details on Filter Query, please check this blog:
https://veenstra.me.uk/2018/11/12/microsoft-flow-filter-queries-in-sharepoint-get-items/
Best Regards,
I created the list in Excel but seems like i'm getting an unexpected error.
This is the error:
Hi @flowuser-21 ,
Please try not to configure Filter Query first, then check if the field name in the Body of List rows present in a table is Name.
Best Regards,
list rowsCan you tell me where specifically should I be making changes ?
Please try not to configure Filter Query first, then check if the field name in the Body of List rows present in a table is Name.
Regards,
User | Count |
---|---|
35 | |
21 | |
18 | |
17 | |
11 |
User | Count |
---|---|
26 | |
21 | |
20 | |
14 | |
13 |