
Comment Post Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 21, 2022 05:47 AM
I’ve written this little script and it runs very well as an app.
But if I run it as an automation run script, it runs successfully but does nothing, no update and no error.
I’d like to understand why the automation mode is not effective ?
Thanks for your help.
const tEssai = base.getTable(‘Essai’);
let rec = await tEssai.selectRecordsAsync();
const dte=new Date();
await tEssai.updateRecordAsync(rec.records[0].id, {
“Nom” : “Foo”+dte.getMinutes(),
“date1” : dte
})
0 Replies 0
