web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Automate
Unanswered

Cancel button failure

(0) ShareShare
ReportReport
Posted on by 2

Hi,

 

I have a problem after creating flow in PA. While launching flow PA cannot click on "X" button to close window. Can you help me?

 

Best regards,

 

Adam

Categories:
I have the same question (0)
  • ac38 Profile Picture
    2 on at
    Correlation ID: 34f84dd9-e7f5-43a3-ab94-a76a1fca468f
    
    Exception of type 'Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Common.Exceptions.ElementNotFoundException' was thrown.: Microsoft.Flow.RPA.Desktop.Modules.SDK.Extended.Exceptions.InternalActionException: Unable to press button (button not found ) ---> Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Common.Exceptions.ElementNotFoundException: An exception of type 'Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Common.Exceptions.ElementNotFoundException' was thrown.
     at Microsoft.Flow.RPA.Desktop.UIAutomation.Runtime.AutomationRuntimes.UIAutomationRuntimeBase.RetractElement(IntPtr windowHandle, String selector)
     at Microsoft.Flow.RPA.Desktop.UIAutomation.Runtime.AutomationRuntimes.UIAutomationRuntimeBase.PressButtonInWindow(IntPtr windowHandle, String selector)
     at Microsoft.Flow.RPA.Desktop.UIAutomation.Runtime.LocalAutomationRuntime.PressButtonInWindow(UIRuntimeElement element)
    --- End of stack trace from the previous location where the exception occurred ---
     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
     at Microsoft.Flow.RPA.Desktop.UIAutomation.Runtime.Router.UIAutomationRuntimeRouter.Invoke(MethodInfo targetMethod, Object[] args)
    --- End of stack trace from the previous location where the exception occurred ---
     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
     at System.Reflection.DispatchProxyGenerator.Invoke(Object[] args)
     in generatedProxy_2.PressButtonInWindow(UIRuntimeElement )
    --- End of remote exception stack trace ---
     at Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Common.Proxy.RemoteAutomationRuntimeProxy.Invoke(MethodInfo targetMethod, Object[] args)
    --- End of stack trace from the previous location where the exception occurred ---
     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
     at System.Reflection.DispatchProxyGenerator.Invoke(Object[] args)
     in generatedProxy_2.PressButtonInWindow(UIRuntimeElement )
     at Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Common.UIAutomationActionBase.PerformAutomation(Action`2 action, UIControl control, Boolean logAction)
     at Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Actions.PressWindowButton.Execute(ActionContext context)
     --- End of internal exception stack trace ---
     at Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Actions.PressWindowButton.Execute(ActionContext context)
     at Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary`2 inputArguments, Dictionary`2 outputArguments)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 276 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard