Hi Everyone!
I’m trying to set a 5-10 seconds delay for an automation.
I’ve checked this post :
https://community.airtable.com/t/i-need-a-delay-method-settimeout-is-undefined-not-found-window/28125
And I’ve tried the following script:
function timeout(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
await timeout(50000)//waits 5 seconds
The editor gives an error and my automation can’t complete.
Do you have any clue of how I can (A) fix this issue or (B) set a delay in a different way ?
Regards,