cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Isaacmanjr
Advocate I
Advocate I

Excel Online (Business) - No Row was found with ID

Good afternoon all,

 

Running into a snag with a flow that I'm working on. I'm trying to automate checking off the status of an excel spreadsheet using a form as the trigger and input.

 

It should work as follows:
A student inputs the name of a room being worked on.

The form submission triggers the flow.

The flow gets the response details.

The flow gets checks the excel document column rooms for the key value of room name.

If the name is present, the excel sheet is updated to reflect that the room has been checked.

If not, then an email gets sent to me with an invalid room name entry.

 

When the flow checks to see if the name is in the list, it is getting a row not found error, even though I can visually confirm that the room is in the list.

 

An example error is as follows: 

No row was found with Id 'MB 102'.
clientRequestId: 8257b5f2-263a-4f62-9512-ca5dd6dbfdf2
serviceRequestId: 282eb6e0-1cd4-40b3-b7e4-8cbd5e4be609;b543bf09-a909-4e43-8d54-9b3837b84e28;220ffd1d-da65-44cc-bc77-b63c6aa12bfe;936553c7-de7d-4a4d-8505-b8d2e20fa371

 

I've also tried sanitizing the input with the HTML to text conversion tool to ensure its not a formatting mismatch.

 

Below is the excel file and the flow structure. 

 

Isaacmanjr_0-1670535023834.png

 

Attached is the flow and the excel spreadsheet in question if you wish to tinker on your own, note this flow does not send the email as mentioned above.

 

Any assistance that could be provided would be greatly appreciated.

 

1 ACCEPTED SOLUTION

Accepted Solutions
Isaacmanjr
Advocate I
Advocate I

I was able to find a solution! The variables here in the screenshot were more just to check what data was being handed down but it does work now! Thanks to everyone for their input!

View solution in original post

10 REPLIES 10
Rhiassuring
Super User
Super User

Just as a first stab - have  you checked for any weird extra spaces or tabs or anything in both the cell and in Power Automate?

______________________________________________________________


Did this answer your question? Please mark it as the solution.
Did it contribute positively towards finding the final solution? Please give it a thumbs up.

I answer questions on the forum for 2-3 hours every Thursday!



That was my first thought. I checked all of them by pasting into notepad to compare and they were all the same.

 

Thanks for checking though!

After running your flow, can you click on Show raw outputs for Html to text and check that there isn't a new line character \n or similar at the end of the value. It might not show up when you paste into Notepad but should show any extra characters in the output. If you do see a new line character you would need to remove it using something like replace.


----------------------------------------------------------------------
If I've answered your question, please mark the post as Solved.
If you like my response, please consider giving it a Thumbs Up.
v-liwei-msft
Community Support
Community Support

Hi @Isaacmanjr 

 

Could you please try:

1.

vliweimsft_0-1670554427836.png

OR

2.

vliweimsft_1-1670554443070.png

 

Best Regards,

Levi

 

 

Thanks for checking!

 

I can confirm there are no new character lines at the end of my input. Below is the raw output for another room:

 

{
    "statusCode"200,
    "headers": {
        "Pragma""no-cache",
        "Transfer-Encoding""chunked",
        "Vary""Accept-Encoding",
        "Cache-Control""no-store, no-cache",
        "Set-Cookie""ARRAffinity=fd2436867d31a6e19058819a5b5a29796a04797ebef8dc573ee26d91deff7a67;Path=/;HttpOnly;Secure;Domain=conversionservice-eus2.azconn-eus2-003.p.azurewebsites.net,ARRAffinitySameSite=fd2436867d31a6e19058819a5b5a29796a04797ebef8dc573ee26d91deff7a67;Path=/;HttpOnly;SameSite=None;Secure;Domain=conversionservice-eus2.azconn-eus2-003.p.azurewebsites.net",
        "x-ms-request-id""675f795d-864c-4461-bd41-8945c5521bd0",
        "Strict-Transport-Security""max-age=31536000; includeSubDomains",
        "X-Content-Type-Options""nosniff",
        "X-Frame-Options""DENY",
        "Timing-Allow-Origin""*",
        "x-ms-apihub-cached-response""true",
        "x-ms-apihub-obo""false",
        "Date""Thu, 08 Dec 2022 21:27:05 GMT",
        "Content-Type""text/html; charset=utf-8",
        "Expires""-1",
        "Content-Length""5"
    },
    "body""Sc 21"
}
 
Thanks again!

Option 1 was what I was previously attempting, but no success.

 

Option 2 does seem to pull the information out of excel. I was able to then store this information in a string variable to get my condition to work where If "Row container" contains "Room name" then update the excel row. (I created the variable "room name" to store the room name after running trim on the contents, thus ensuring no new line characters or spaces.) The resulting expression is true, but when I go to update the row with the same variable of room name, it says the row does not exist. I feel like I am missing something obvious. 🤦‍

v-liwei-msft
Community Support
Community Support

Hi @Isaacmanjr 

 

According to your screenshot, do you want to see if the filter result after List rows present in a table is empty?
Update the row if not empty.

I have made a test for your reference:

vliweimsft_0-1670838860853.png

vliweimsft_1-1670838902093.png

 

 

Best Regards,

Levi

 

Kannan_n
Resolver II
Resolver II

Hi Isaacmanjr

 

I will check your flow and I will give you the better solution tomorrow. Today I need to go office 

Thanks 

Kannan. N 

Hey there!

 

Each row currently contains the text "No". I would like to update it to contain the test "Yes"

 

Hopefully this helps clarify!

Isaacmanjr
Advocate I
Advocate I

I was able to find a solution! The variables here in the screenshot were more just to check what data was being handed down but it does work now! Thanks to everyone for their input!

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (3,653)