The Community will be temporarily unavailable starting on Friday February 28. We’ll be back as soon as we can! To learn more, check out our Announcements blog post.
I am attempting to set up an automation and have a script update a linked field in a table. When testing my script the output gives me this error. “Your script has a syntax error” (adding this for search engines cause I could not find this on google ...
Ok, I can’t believe I forgot to mark my function in my loop as async. You’re right about updating them in bulk, but I have over 50 records that need to update so I still have to update within the loop, but I currently have it set up to update the max...
Do you know why it works without await but not with it? If it works without await then the data/data structure can’t be the issue. I’m pretty sure it’s an airtable quirk because I’ve done this in other javascript applications.
It appears that you can’t update records within a loop. I didn’t give the full context of the code because I didn’t think it was necessary, but apparently it was.
So I added a testing field as a single line text field just to be sure it wasn’t anythi...
depo is a record from the customers table obtained from the line I mentioned above depositors.getRecord(depositors.recordIds[index]) so it looks something like this when I log it:
{id: "rec1231412312", name: "Some name"}
I am attempting to update a l...