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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Getting Error when rec...
Power Automate
Unanswered

Getting Error when record Form responses to SharePoint: No row was found with Id

(0) ShareShare
ReportReport
Posted on by

Hello there,

 

So I'm trying to record Form responses into a SharePoint list using PowerAutomate, I decided to go with the template "Record form responses in a SharePoint" and I added a new Excel action called "Get a row" since I want to record in my SP list, the "Start Time" and "Completion Time" which using only the template is not possible, so I have to take those columns out of the Excel that contains all responses, so I have this Flow:

sergiodt_0-1656554133857.png

 

sergiodt_1-1656554175516.png

 

I added a delay of 15 seconds so Get a row action has time to take the ID out of the Excel File, but that didn't work, the problem exists when 2 people submit the form at the same time and that could be usual since my form has 3 questions and is been used constantly by 5 people in my company, so if they submit the form almost at the same time I get this:

sergiodt_2-1656554377898.pngsergiodt_3-1656554389751.png

I really appreciate if anybody can help me with this, thank you in advance.

 

Categories:
I have the same question (0)
  • 365-Assist Profile Picture
    2,324 Moderator on at

    You shouldn't need the Excel file. The actions Get Response Details (Forms) that was in the original template will give all the columns you need for the SharePoint List.

     

    I created a video that may help you. It uses Dataverse but similar Power Automate Flow can be used for SharePoint (8:30 mark).  Creating a Complaints DB with MS Forms, Model Driven Power Apps (Dataverse) and Power Automate - YouTube

    ---------------------------------------------------
    Please Accept as Solution if it solves your question. Or just give it a Thumbs Up if it is helpful as can help others.

    Subscribe: https://www.youtube.com/channel/UCFpvUlpx84FuIPOdInGKMTw
    Twitter: https://twitter.com/assist_365

    Regards
    Darren Lutchner - 365 Assist

     

  • edgarsimoes Profile Picture
    Microsoft Employee on at

    Hello, @Anonymous 

     

    First, I think you should need the "get response details" after the trigger action, if you just needed the submission timestamp:

    edgarsimoes_0-1656586656852.png

     

    Secondly, I would recommend to try use "List rows present in a table" action and not "Get a row" action, like this:

    edgarsimoes_1-1656586916424.png

    And this will filter you new row and get your required fields.

     

    Please, be sure to turn on the pagination option on the action settings, in order, to search in all your forms rows.

    edgarsimoes_2-1656587035089.png

     

    Please 'Thumbs Up' the posts that helped you and 'Accept as Solution' if my post answered your question.

     

    Happy automating,

     

    Edgar Simões

  • Community Power Platform Member Profile Picture
    on at

    Thank you for your help, however, besides the submission timestamp, I need the "Start time" which only is possible to get from the Excel with the answers. I tried to use List rows present in tables but that didn't work. I created another Flow but it takes too much time every time it runs:

     

    sergiodt_0-1656698550806.png

     

    I don't know if there's an alternative, ideally I want to get "Start time" so whenever an employee starts the Form, and Submission time, to calculate the time they spend answering the Form, that's all I need.

     

  • Verified answer
    ChadVKealey Profile Picture
    1,393 on at

    Many of the templates around working with form responses have an "apply to each loop". That may have been required at one point in time, but it no longer is. I would clear the value from the "Key value" field in your "Get a row" action, then move that action OUTSIDE OF (below) the apply to each and also delete the Apply to each (the delay isn't/shouldn't be needed either). Then, in the Key value field, enter the "Response ID" from the trigger. This will get the row correctly. Just remember that Excel stores those dates as numbers and they'll be in UTC. If you just want to get the time in between (how long they spent on the form), it doesn't really matter, but if you need to know the exact time that they started and finished in your local time, you'll need to convert the time zone.

  • edgarsimoes Profile Picture
    Microsoft Employee on at

    Hello again,

     

    About the flow I would try what @ChadVKealey  said. The only thing I wanted to remind is that Microsoft Forms has an native feature to calculate the Average time that you're seeking for.

    edgarsimoes_0-1656711175116.png

  • edgarsimoes Profile Picture
    Microsoft Employee on at

    Have you seen my last message?

     

    -Edgar

  • ChadVKealey Profile Picture
    1,393 on at

    @edgarsimoes , it doesn't look like that "elapsed time" is present in the spreadsheet or response details, so getting it programmatically (e.g.: in a flow) requires a bit of math. I assume it's the same math used to render the data on that page ([completion time] - [start time]).

  • Community Power Platform Member Profile Picture
    on at

    Hello, I tried to follow your steps, but when I enter the Key value "Response ID" the apply to each loop is added automatically, I'm not able to remove that apply to each loop, I tried by storing the Response ID in a variable, but I'm still getting the same error, "Row with ID:"XX was not found"

    sergiodt_0-1657036565720.png

     

  • ChadVKealey Profile Picture
    1,393 on at

    OK, that template you started with uses the old Forms trigger, which (after some testing I can confirm) produces an output of the "List of responses" (hence the need for the loop). I would suggest you delete the trigger and re-add it, which will use the current version of it which produces a single response (rather than a list). 

  • ChadVKealey Profile Picture
    1,393 on at

    @Anonymous , here's a short video on how to delete and re-add the Forms trigger in that template: https://youtu.be/6GopBPzyS_k

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard