cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MoniqueTrinidad
Level: Powered On

SharePoint Get items filter query

Hi, any help would be higly appreciated.

 

I have been trying to create a Time Off request approval flow.

I have two 2 sharepoint lists namely:

SPlist1. Leave Request (where all requests are created)

SPList2. Leave Credit (where employee name and leave credits are listed)

 

When an item is created in SP1, 

I wanted to retrieve the leave credit of the requestor looking up to SPL2 (Employee Name column)

 

The value that I will get will be included in the approval email.

 

Capture.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support Team
Community Support Team

Re: SharePoint Get items filter query

Hi MoniqueTrinidad,

 

According to your description, I created a flow likes below. When an item created in List4, get items in List3, if the title in List3 is equal to List4, send an approval email.


In the Body field of Send approval email action, I select the dynamic content number from Get items action.

3.PNG

 

Please try if it will work for your scenario and feel free reply if you need more help.

 

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
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

3 REPLIES 3
MoniqueTrinidad
Level: Powered On

Re: SharePoint Get items filter query

Tried doing a work around.

I created a lookup column in SPL1, where it "lookup" SPL2 ID.

Created a workflow in SP Designer that will set this lookup column to the Employee Name ID in SPL2.

Resulting now that every created item in SPL1, Lookup column will EQUAL ID (from SPL2) of the matching requestor and employee.

 

Now, i have this. Do until the workflow i created is finished and get specific item

 

Capture3.PNG

 

HOWEVER, have checked the flow details and the Get Items step seem to return all items from the SPL2.

 

Please help!

Highlighted
Community Support Team
Community Support Team

Re: SharePoint Get items filter query

Hi MoniqueTrinidad,

 

According to your description, I created a flow likes below. When an item created in List4, get items in List3, if the title in List3 is equal to List4, send an approval email.


In the Body field of Send approval email action, I select the dynamic content number from Get items action.

3.PNG

 

Please try if it will work for your scenario and feel free reply if you need more help.

 

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
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

MoniqueTrinidad
Level: Powered On

Re: SharePoint Get items filter query

Thank you so much Mabel Mao! It is exactly what I've been trying to achieve

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 313 members 5,686 guests
Please welcome our newest community members: