cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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

5 REPLIES 5
Highlighted
Super User III
Super User III

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

@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
Highlighted
Dual Super User III
Dual Super User III

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

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!

Highlighted
Super User III
Super User III

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

@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
Highlighted
Dual Super User III
Dual Super User III

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

@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!

 

Highlighted
Community Support
Community Support

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

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.

Helpful resources

Announcements
Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Top Solution Authors
Users online (7,791)