Hello! I am brand new to Airtable scripting and trying to get a very simple script to work with no luck.
What I am trying to accomplish is to have a use click a button then run a script to update 2 fields on that record.
I have pieced this together and it doesn’t show any specific error but also doesn’t change the field (I am starting with only one first to see if I can get this working).
Any ideas on what is going wrong?
// Change these to match your base.
let table = base.getTable('Master_Table');
let field = table.getField('Step');
// When run from a button field, the script skips the prompt
// and automatically uses the button's record.
let record = await input.recordAsync('Choose a record', table);
let value = field.updateOptionsAsync.toString("QC Ready");
