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.
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.
Solved! Go to Solution.
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!
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?
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.
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:
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. 🤦
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:
Best Regards,
Levi
Hi Isaacmanjr
I will check your flow and I will give you the better solution tomorrow. Today I need to go office
Thanks
Hey there!
Each row currently contains the text "No". I would like to update it to contain the test "Yes"
Hopefully this helps clarify!
User | Count |
---|---|
88 | |
37 | |
26 | |
13 | |
13 |
User | Count |
---|---|
127 | |
54 | |
37 | |
24 | |
21 |