cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Fish_mm
Regular Visitor

if "List rows present in a table" returns "value": []

Hi All, 

 

If I input  "List rows present in a table" and it returns "value": [] , i want to incude this into next condition. what should i input below ?

 

Capture.PNG

6 REPLIES 6
ScottShearer
Super User
Super User

@Fish_mm :

Please see my example below - I am checking for the number of rows returned and using that in a condition - the expression that I used can be seen in the comments of the variable.  The variable is optional - you can use the expression directly in the left side of the condition.

NoRows.jpg

 

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

Scott

Hi @Fish_mm 

 

Can you please share more details on this? "List rows present in a table" action returns a list of values (Value[]) that contains all the coolumns as keys and the values as values in this array. What do yo want to put in the condition? For example please see the screenshot below: Here I am gettingthe list of rows from my excel table and checking if the value in the column is a specific string and if so move to yes branch and if no then move to no branch. ss1.PNG

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

ScottShearer
Super User
Super User

@Fish_mm 

Please consider using an OData filter in the filter query area rather than a condition.

 

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

Scott

@Fish_mm 

 

Note: While using ODATA filters to filter the returned list, there are some limitations with the excel connector: 

 The column name cannot have any spaces or special characters. There are more limitations that exclude some logical operators from being used. You might want to look at the solved thread below for more details on filtering excel list of rows: 

https://powerusers.microsoft.com/t5/Connecting-To-Data/Flow-get-list-of-rows-form-excel-with-ODATA-f...

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

 

v-bacao-msft
Community Support
Community Support

Hi @Fish_mm were the suggestions above able to help you with your issue?

 

Best Regards,

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

Thanks, it definitely helped me! Unfortunately I'm not an author, so can't mark your post as solution

Helpful resources

Announcements
October Events

Mark Your Calendars

So many events happening this month - don't miss out!

 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Users online (2,981)