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

5 REPLIES 5
Super User
Super User

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
Dual Super User
Dual Super User

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!

Super User
Super User

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
Dual Super User
Dual Super User

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!

 

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
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Users online (6,635)