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

Searching in sharepoint list with power automate

In my power automate flow, I am trying to search for the row using email. My problems is, this always retuns as data not found, even though I do have a row for the entered email.

don75_0-1617055638042.png

In the condition, I have the following.
length(outputs('Get_items')?['body/value'])

 

1 ACCEPTED SOLUTION

Accepted Solutions
ScottShearer
Super User III
Super User III

@don75 

See my example below:

image.png

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

5 REPLIES 5
mahoneypat
Solution Sage
Solution Sage

ScottShearer
Super User III
Super User III

@don75 

First, remember that OData filters are case sensitive.   

Also, can you tell me if the Email column is a text column or a person or group column (they are handled differently)?

 

 

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

Thanks for the response. I didn't manually type the field names to search in sharepoint. Power automate automatically populated the fields for me to select. And no issues with case sensitivity as all the data is in lower case. I tried to add other fields instead of email, but got the same result.

In sharepoint list, the Email column has been set as "Single line of text"

don75
Frequent Visitor

I think I found the issue. Even though I see the data in sharepoint as they are entered in the bookings app, they got extra information. I created a new flow just to retrieve data from the sharepoint list and email them. What I noticed was that some data has the <div class> before the actual data.

Ex: <div class="ExternalClassA463BD7F04DA413C924005E9BA36B94D">Graham@test.com</div>

Any way that I could remove this from the variable?

ScottShearer
Super User III
Super User III

@don75 

See my example below:

image.png

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

Helpful resources

Announcements
MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (52,017)