
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 14, 2022 09:22 AM
Hi there community members
I’m still new to airtable scripting and really need your help in solving the timeout problem on one of my scripts.
I’m getting a script exceeded execution time on the following code. What can I do or how can I change the script to prevent it from happening
console.log(“Start Ditribution script”);
let inputConfig = input.config();
let leadRecordId = inputConfig.recordID;
let tableLeads = base.getTable(“LGA Leads”);
let query = await tableLeads.selectRecordsAsync({ fields: tableLeads.fields });
let leadRecord = query.getRecord(leadRecordId);
console.log(leadRecord.getCellValue(“Lead Key”));
I see the 1st console.log, but not the 2nd, so I assume it must be happening when I’m opening the table. The table has a lot of records.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 15, 2022 07:23 AM

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 15, 2022 07:28 AM
You are a STAR !! Thanks @kuovonne

- « Previous
-
- 1
- 2
- Next »