Hi All,
I have a wait for window content step that is waiting for picked field from the SAP GUI to appear. It works...
However, now that I've expanded the data being searched in SAP to much more, it errors out after about 3-4 minutes with this error even though my timeout is set to 15 minutes (that timeout I specify in Power Automate step clearly isn't the one that is being hit).
Any advice? I was surprised to see specific SAP hooks apparently in the PAD engine... FWIW, in SAP I'm using PAD to automate table exports from the SE16N transaction.
Microsoft.Flow.RPA.Desktop.Modules.SDK.ActionException: Error occured when trying to wait for window content ---> System.Exception: Sap bridge connection error ---> System.Exception
--- End of inner exception stack trace ---
at Microsoft.Flow.RPA.Desktop.UIAutomation.Plugin.Sap.BridgeToSapAutomation.SapAutomationResult`1.ThrowIfError()
at Microsoft.Flow.RPA.Desktop.UIAutomation.Plugin.Sap.SapAutomation.GetSapWindow(IntPtr handle)
at Microsoft.Flow.RPA.Desktop.UIAutomation.Plugin.Sap.SapAutomation.CreateElementRetractor(IntPtr windowHandle, String selector)
at Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Common.AutomationRuntimes.AutomationRuntimeBase.WaitForWindowContent(Func`1 retractWindow, String selector, WaitForWindowContentModeEnum waitMode, Boolean waitForElementToBeInSpecificState, Boolean waitForElementToBeEnabledInsteadOfDisabled, String textToWaitFor)
at Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Actions.WaitForWindowContentAction.<>c__DisplayClass1_0.<Execute>b__0(IAutomationRuntime r)
at Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Common.UIAutomationActionBase.PerformAutomation[T](Func`2 action, UIControl control)
at Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Actions.WaitForWindowContentAction.Execute(ActionContext context)
--- End of inner exception stack trace ---
at Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Actions.WaitForWindowContentAction.Execute(ActionContext context)
at Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary`2 inputArguments, Dictionary`2 outputArguments)