Help

Save the date! Join us on October 16 for our Product Ops launch event. Register here.

Automation Script for uncheck box in specific time using At scheduled time

Topic Labels: Scripting extentions
627 0
cancel
Showing results for 
Search instead for 
Did you mean: 
Renzo
4 - Data Explorer
4 - Data Explorer

let table = base.getTable(“Cuentas Ads”);

let view = table.getView(“check grupal”);

let query = await view.selectRecordsAsync({fields: })

let updates = query.records.map(r => {

return {id: r.id, fields: {“Check Grupal”: false}}

})

while (updates.length > 0) {

await table.updateRecordsAsync(updates.slice(0, 50))

updates = updates.slice(50)

}
Screenshot_23
Screenshot_22

0 Replies 0