Call scheduled nanoflow when app is not used (sleep/lock)

Hi experts,   I have requirements to run nanoflow in background. I already used app event and set it every 10 seconds to call nanoflow, this way is work but when I closed my native app or lock my screen the background event is stopped…   is there any idea how to call nanoflow when app is not used (sleep/lock) ?    Thanks, Zacky
2 answers

Headless JS may be a solution



hii Zacky Hotib,

if you can use javascript then just call cal nanoflow after page load and inside nanoflow call a javascript action

and in javascript we have setTimeout () method that can call you function when screen is lock of your PC 

Window setTimeout() Method (

I hope this will help you