Hey guys, I've created a clever workflow for me that at 5am, turns on my phone, checks if wifi is enabled, if not, turns it on and connects it to my network, then puts my phone on ring, and opens Skype for Business. I'm having an issue though, if my phone is dormant/locked for more than a couple minutes, the workflow fails and says "java.lang.IllegalStateException: Wi-Fi disabled", even when it successfully turns on wifi and connects to my network. How can I prevent this? It doesn't happen if my phone has been locked for less than 5 minutes, but does happen after. Wifi is set to stay on when screen is off, if that makes a difference.

