web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Get a Row action Not F...
Copilot Studio
Answered

Get a Row action Not Found

(0) ShareShare
ReportReport
Posted on by 271

Hi all,

 

Within my topic I have an option to find an existing item within an excel table with the user entering a number to locate this using a flow within my topic. If the user enters a valid number it works perfectly, but if the user enters number that doesnt exist within the table then the bot fails with the details below:

 

Gwill1983_0-1645616685095.png

How do I add an option after this failure for the user to re-enter the number or to leave the chat?

 

 

I have the same question (0)
  • Ram Prakash Duraisamy Profile Picture
    5,732 Super User 2026 Season 1 on at

    Hello @Gwill1983 

     

    From Flow Check the Count and Run a Boolean value as true(if available), false(if not available).

     

    Then in the BOT check the Condition if it is True then send proper message else send some Custom Message.

     

    Please mark as Answer if it is helpful and provide Kudos


    Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA
    Blog : https://microsoftcrmtechie.blogspot.com

  • Gwill1983 Profile Picture
    271 on at

    Hi, thanks for the message. What do you mean when you say "check the count"?

  • amydeng Profile Picture
    2 on at

    @rampprakash I have the same issue, can you help to explain more? as we don't know how to operate to resolve it, can you help to share screen capture if possible. thanks.

  • Gwill1983 Profile Picture
    271 on at

    Hi.

     

    So, my current flow looks as below:

     

    Gwill1983_0-1645788118110.png

    Gwill1983_1-1645788166173.png

     

    When a user enters a serial number that isnt within the excel file, it fails as below on the Get a row step of the flow:

     

    Gwill1983_2-1645788245920.png

    Obviously, I dont want this to just return a failure to the bot. I want it to alert the user that the serial number they have entered doesnt exist. 

     

    Do you have any idea how to do this? I have tried all sorts and just cannot find a solution! 

     

    If you could explain your theory a little clearer then I will be able to test it

  • Gwill1983 Profile Picture
    271 on at

    Can anybody help with this?

     

     

  • Verified answer
    Gwill1983 Profile Picture
    271 on at

    @amydeng I have solved the issue that I was having....

     

    After the initial search entry I have added another flow to check if the entry is in the list. Then running a condition within the Bot to send different messages based on the output.

     

    The new flow is as below:

    Gwill1983_0-1646414735055.pngGwill1983_1-1646414757916.png

     

    Formula within Set Variable is 

    length(body('List_rows_present_in_a_table')?['value'])
     
    This then gives you a number of rows based on the original entry in the bot that you can run a condition against within your bot flow. 
     
    Let me know if this helps, or if you need anymore info

     

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 696

#2
chiaraalina Profile Picture

chiaraalina 171 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 122

Last 30 days Overall leaderboard