cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
norton287
Regular Visitor

After recording a flow and running it the next steps never happen, it just highlights them and does nothing

I recorded several flows and the only execute the first step and then just step through highlighting the remainder but not actually performing what they are supposed to do.  It is a simple flow of just clicking on three icons.

 

John

1 ACCEPTED SOLUTION

Accepted Solutions
Pavel_NaNoi
Resolver I
Resolver I

Hmm weird, try running PAD in admin mode just in-case, and just to make sure, when using the image action, you're selecting like a box around the image, not just a pixel of it right? (This can easily happen, I'm just being thorough) 

 

Another thing you can do is to use OCR to find the text of the application and move mouse to that location and send a double click, this method will require you to make sure your VM is not in focus as a window though. And if that doesn't work then it might be an issue with the VM just in general (I've tested several of these things in the Azure one and they seem to work fine)

View solution in original post

11 REPLIES 11
Ahammad_Riyaz
Helper V
Helper V

Hi @norton287 ,

 

It may be selector changing everytime or else just give wait nd check it once.

 

Thnaks

Ahammad Riyaz

norton287
Regular Visitor

I'm not following... What do you mean by selector changing every time?

 

John

norton287
Regular Visitor

Is anyone able to explain why this might be happening?  I am not understanding this other guy and he did not respond to my question.  Any help would be appreciated!

tkuehara
Solution Specialist
Solution Specialist

Hi @norton287 

 

What he said is that sometimes you might deal with dynamic selectors, meaning flows might work only once and then doesn't work anymore (because the element id/name changed). However, it doesn't seem to be your case as you said that the flow doesn't raise any error: it keeps running but no action is performed.

If you could provide a print screen from your flow it would be helpful.

norton287
Regular Visitor

Screenshot 2021-07-19 093318.png

 

Here is the flow I am working on now, it does not do the last step where it is supposed to mouse click.  It never moves the mouse to that location or even tries to do a click.

 

John

Doesn't do the last part because you're selecting the virtual machine, but PAD has no control inside the VM as its installed on your local one, so it is clicking but on your local machine not inside the VM. What you need is image recognition (or what we call computer vision) just use the "Move mouse to image" action in PAD instead, it will do exactly what you want.

Tried that, the same happens does not move the mouse or click at all and never throws an error

 

John

tkuehara
Solution Specialist
Solution Specialist

Didn't know you were using a VM. I ran a test with Remote Desktop and move mouse action works in it. Have no idea why it doesn't work with VMware.

Pavel_NaNoi
Resolver I
Resolver I

Hmm weird, try running PAD in admin mode just in-case, and just to make sure, when using the image action, you're selecting like a box around the image, not just a pixel of it right? (This can easily happen, I'm just being thorough) 

 

Another thing you can do is to use OCR to find the text of the application and move mouse to that location and send a double click, this method will require you to make sure your VM is not in focus as a window though. And if that doesn't work then it might be an issue with the VM just in general (I've tested several of these things in the Azure one and they seem to work fine)

View solution in original post

Jon112
Regular Visitor

I have noticed that if Power Automate isn't running in administrative mode and the program is that can cause some issues. Where it will select the program, but it won't actually do any of the actions associated with it as it doesn't have necessary permissions. The work around for me was to set both the program and power automate to run in compatibility mode as administrator. Though I'm not sure if that is the issue as I haven't worked with power automate much with a VM.

I finally got around to it but running it as Admin worked perfectly!  Thank all you guys for your feedback and advice!

 

John

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (2,613)