let table = base.getTable("Orders");
let field = table.getField('Order Info');
let record = await input.recordAsync('Choose a record', table);
I know that if I make this script, I can press the button and then select the record to run the automation.
But what I wanted was to press the button and the script would already get the record without me choosing it.
Is there any way of doing this?