From 9f642377f28f595c77750eebde3cee12e3ce419c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rita=20Z=C3=A1goni?= Date: Thu, 19 Dec 2024 16:50:36 +0100 Subject: [PATCH] rita@openfn.org's change on OpenFn.org --- bns/getFormsListFromSheets.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bns/getFormsListFromSheets.js b/bns/getFormsListFromSheets.js index edde294..9473a3e 100644 --- a/bns/getFormsListFromSheets.js +++ b/bns/getFormsListFromSheets.js @@ -1,7 +1,10 @@ //== Job to be used for getting a list of "deployed" Kobo forms from sheets to auto-sync ==// // This can be run on-demand at any time by clicking "run" or modify manualCursor below // fn(state => { console.log(state.configuration); return state; }) - +fn(state => {setTimeout(() => { + console.log("After sleep"); +}, 10000); return state;}) // Sleep for 2 seconds + getValues( '1s7K3kxzm5AlpwiALattyc7D9_aIyqWmo2ubcQIUlqlY', 'wcs-bns-DEPLOYED!A:L', //get Deployed forms list from Sheet