
I have a Power Automate flow with 5 switch conditions. The first 3 cases have a delay of 25 seconds, the 4th case has a delay of 6 seconds, and the 5th case has a delay of 2 seconds. The default case is also there. The flow works fine when the delays are 25 seconds, 6 seconds, and 2 seconds, respectively. However, when I change the delays to 24 hours, 6 hours, and 2 hours, respectively, the flow exits after the first case.
Do until loops have a default timeout of 1 hour, which is why you had no trouble with your delays when they were seconds. You need to change the limits in your do until. For example, after whatever you have in your do until loop, add a delay of 1 hour. Then you will need to figure out how many times you want it to loop before it times out. The max number of loops is 5,000, but with a 1-hour delay the 30-day workflow timeout will be reached first.
For example, I have a do until where I send a reminder e-mail every two days until the approval has been completed.
The approval needs to complete within four weeks (28 days). So, I have my loop limit set to 14 and the delay set to 48 hours.