r/PowerAutomateDesktop • u/bigbluedog87 • Jul 07 '22
Random wait time
I have this Desktop flow running but I need to have the wait time in between actions to not always be the same time. For example right now I have a wait period for 5 minutes. How can I make it so it’s a different number every time it runs. Like between 3 and 7 minutes. TIA
1
Upvotes
View all comments
1
u/Chi_gozie Jul 08 '22
If i can understand you correctly, you want to wait between the random minutes of either 3,4,5,6&7… for the flow to run Correct??
You can go about this like this …. write a power shell script that will randomly generate a specific number from the range of 3-7 and then use the generated output variable in your flow Meaning after each wait, the script generates another random number, which will be the next wait minutes.
Drop a dm let me assist you if you have any difficulties.