--- 1/4 ::: Code :::---
// Unacceptable behaviour in/from Airtable Scripting Dashboards :::
// "🟢Singular#1" herebelow works, producing "02" output.
// "🟠Singular#2" bails out silently, output ends on/at/with "01" stuff.
// Merely because inside a function !!
// 2026.09.21.Md.21.24.
const table = base.getTable("MovLnkRecs_Patterns");
const targetRecId = "rectXNyQYotOwq1iw";
const patterns_pkFieldID = "fldnkqXQeNTl16704";
// Lookup target record :::
let myRec = await table.selectRecordAsync(targetRecId); //🟢Singular#1. NoDeprec.
output.text ("02. PK content :: " + myRec.getCellValue(patterns_pkFieldID)) ;
async function go() //{}
{
output.text("0. Date() :: " + Date());
output.text("1. table descr. :: " + table.description); //________
let myRec = await table.selectRecordAsync(targetRecId); //🟠Singular#2.
output.text("Below 1."); // Not seen from function. Nothing from here onward.
output.text("2. PK content :: " + myRec.getCellValue(patterns_pkFieldID)) ;
output.text("3. below 2.");
}
go(); // top level, calling down.
//==.
--- 2/4 ::: Output :::---
02. PK content :: 🚦🚦⭕️ → ♦️♦️ [4o2 42]
0. Date() :: Mon Sep 21 2026 21:15:58 GMT+0200 (Central European Summer Time)
1. table descr. :: Patterns for MovLnkRecs Automation ( or button Script ) 2026.04.05.Su.04.42. MovLinkRecs🌀Conduits
--- 3/4 ::: Additional Output in case all code outside of function ::: ---
2. PK content :: 🚦🚦⭕️ → ♦️♦️ [4o2 42]
3. below 2.
--- 4/4 ::: My own disbelief and consternation, and M$Copilot’s confirmation :::---
I’ve been investigating this anomaly outrageously long with M$Copilot.
Beside and sharply contrasting with all the miracles and wonders of Airtable, a person would start asking oneself who on Earth when seeing this would still be inclined to go ahead with Airtable.
One question, or two :: Am I the only one ? Am I totally missing out on something here ?