by Robert K.
This flow shows a possible example of how a condition can be checked regularly over a period of time.
In this example, after the Bluetooth has been switched on, it is switched off again after a preset time. If the Bluetooth is already switched off manually during this time, the timer stops and get restarted the next time the Bluetooth is switched on.
This flow is the small or simple function of a time delay (a Timer)
After the flow has started, it waits until the Bluetooth is switched on. After the 5 minutes set in this example, the Bluetooth is switched off again, and it is checked cyclically every 5 seconds whether it is still switched on. If it has already been deactivated before the time has elapsed, the timer stops and restarts the next time it is switched on.
While the flow is running, the current progress is documented in the log file.