HI Everyone
I am sharing a problem today. Not sure is there any solution out there.
Please response if there any solution for that.
I am trying to get the latest available option for a select able field inside a loop of scripting apps script.
But the problem is script provide me the initial instant of the table if i make any change runtime of the script then it’s not getting the updated instance even though i try to take a new instance of the table .
Below is my code
while(true){
var table= null
table= base.getTable("Table 1")
console.log(table.getField("Status").options.choices)
console.log(await table.selectRecordsAsync())
//trying to make wait the loop
var a= await input.buttonsAsync("test",""test"])
}
And also want to mention that it’s getting the all the new records in new instance of the table or the updated records are also available on it. But the updated fields options are not available in updated instance of the table.
May be it’s a bug from airtable