I have a script that has been in production for months and just recently the script is failing on the selectRecordsAsync() function…
let config = input.config();
let tbl = base.getTable('Status');
let qry = await tbl.selectRecordsAsync();
for (let rs of qry.records.filter(id => id.getCellValue('Status ID') === configi'Status ID'])) {
<snip>
break;
}
In the text editor the function selectRecordsAsync() the text is formatted as strikeout and I’m seeing this error message…
ERROR
TypeError: Cannot read property '0' of null
at <anonymous> on line 4
at main on line 4
Can anyone shed some light on what’s going on?