I built a very simple Power App (1 input field) that then triggers a web flow. That web flow triggers a Desktop flow that runs on a VM.
All the flow does is pass a search term from power apps, launches google on the VM and searches for the term. Obviously not the production case in mind, just a POC to make sure all my connections are working.
The problem I have is when I run, it takes almost 1 minute to run. The VM is up and waiting (I am in attended mode).
If I just run the desktop flow it takes about 5 seconds.
Is there any way to reduce the lag of those steps? Eventually I want the production case to run in unattended mode. Would the performance between Attended and Unattended be similar?
That's just how long it takes for the command to reach the machine, log on, execute the desktop flow, log off, and send outputs to the cloud flow.
I think the only way to reduce the lag is to wait patiently and hope Microsoft does something about it. Right now, the long delay is OK for long desktop flow, but insanely inefficient for small queue-based flows. I would love to hear @Stephen's thoughts on the matter.
Hi @jmct12345,
Try to create your flows in an environment that's in the region closest to your VM location. An environment is bound to a geographic location, and when the datacenters that host your environment are closer to the machine that's accessing the information, you're likely to see better performance.
Thank you both. I currently have the VM hosted in US East (I am in NY), so I think its close. Its a bit underpowered (didn't want high cost during POC), I may try a more powerful VM to see if it responds faster.
Otherwise, that may be what it is which will not work for my needs. I hope MS can reduce that lag, its really a killer for many use cases.
I feel your pain. I set up a flow to open my gmail on Chrome and send myself an email. Works fine on my laptop. Took 4 to 5 times as long to run it in attended and unattended mode on the Azure vm. Useless!
Hitting the same problem, need to run desktop flows,but getting 1-2 minute delay. I have seen delays up to 10 minutes so far all running the same flow on the same desktop. Seems very inefficient based that this was built on Winautomation. And am transferring back to that for the speed. Plus has less bugs running websites the Power Automate.
User | Count |
---|---|
13 | |
8 | |
6 | |
6 | |
5 |
User | Count |
---|---|
20 | |
17 | |
17 | |
12 | |
11 |