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
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)
Michael E. Gernaey
566
Super User 2025 Season 1
David_MA
516
Super User 2025 Season 1
stampcoin
492