Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Error extracting table in PAD when running unattended mode

(0) ShareShare
ReportReport
Posted on by 12

Hi,
I am running an uattended power automate desktop flow that is triggered from a cloud flow and everything works up until the DESKTOP Flow Run - i have tested the desktop flow in attended mode and it runs however it fails when running unattended. 

I have tried adding wait into the flows but that hasn't seem to have helped.

Kratos1_0-1687108766797.png

 


 
I am getting the below error:

"Problem while executing action 'ExtractTable'. Failed to extract data (web page error while extracting data).

Microsoft.PowerPlatform.PowerAutomate.Desktop.Actions.SDK.ActionException: Failed to extract data (web page error while extracting data). ---> System.Exception: Data extraction element not found.
at Microsoft.Flow.RPA.Desktop.UIAutomation.WebAutomation.Core.DataExtraction.LegacyExtractorBase`1.GetExtractionResults(Stopwatch stopwatch, Nullable`1 timeout)
at Microsoft.Flow.RPA.Desktop.UIAutomation.WebAutomation.Core.DataExtraction.LegacyExtractorBase`1.InvokeExtraction(Nullable`1 timeout)
at Microsoft.Flow.RPA.Desktop.UIAutomation.WebAutomation.Core.DataExtraction.LegacyExtractorBase`1.Extract(Nullable`1 timeout)
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Common.DataExtraction.Engine.WebDataExtractionEngine`1.AttemptExtraction(ICollection`1 resultsList, WebActionRetryParameters retryParameters, Int32 attempts, Nullable`1 timeout)
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Common.DataExtraction.Engine.WebDataExtractionEngine`1.<>c__DisplayClass4_0.<ExtractElementData>b__1(Int32 attempts)
at Microsoft.Flow.RPA.Desktop.UIAutomation.Core.Utilities.Clock.Execute[T](TimeSpan timeout, TimeSpan period, Func`1 action, Func`2 successCondition)
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Common.ClockActionPeriodicRunner.Run(Func`2 func, TimeSpan pediod)
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Common.WebPager.WebPageEnumerator.ForEachPage(IWebAutomationBrowser browser, WebPagerParameters pagerParameters, WebActionRetryParameters navigationRetryParameters, Action action)
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Common.DataExtraction.Engine.WebDataExtractionEngine`1.ExtractElementData(IWebAutomationBrowser browser, WebPagerParameters pagerParameters, WebActionRetryParameters retryParameters, Nullable`1 timeout)
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Common.Proxy.LocalWebAutomationRuntime.ExtractTableFromWebPage(WebBrowserInfo webBrowserInfo, IEnumerable`1 extractionSelectors, String baseCssSelector, WebPagerParameters pagerParameters, WebActionRetryParameters retryParameters, Nullable`1 timeout)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Common.Proxy.WebAutomationRuntimeRouter.Invoke(MethodInfo targetMethod, Object[] args)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Reflection.DispatchProxyGenerator.Invoke(Object[] args)
at generatedProxy_3.ExtractTableFromWebPage(WebBrowserInfo , IEnumerable`1 , String , WebPagerParameters , WebActionRetryParameters , Nullable`1 )
--- End of remote exception stack trace ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.Flow.RPA.Desktop.UIAutomation.Shared.Rpc.RpcDispatchProxy`1.GetRemoteResultOrThrow(RemoteMethodCallResponse response, Type expectedResultType)
at Microsoft.Flow.RPA.Desktop.UIAutomation.Shared.Rpc.RpcDispatchProxy`1.Invoke(MethodInfo targetMethod, Object[] args)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Reflection.DispatchProxyGenerator.Invoke(Object[] args)
at generatedProxy_1.ExtractTableFromWebPage(WebBrowserInfo , IEnumerable`1 , String , WebPagerParameters , WebActionRetryParameters , Nullable`1 )
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.WebAutomationRuntimeServiceProxy.<>c__DisplayClass15_0.<ExtractTableFromWebPage>b__0(IWebAutomationRuntime s)
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.WebAutomationRuntimeServiceProxy.ExecuteSafe[T](Func`2 action, TimeSpan timeout)
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.WebAutomationRuntimeServiceProxy.ExtractTableFromWebPage(WebBrowserInfo webBrowserInfo, IEnumerable`1 extractionSelectors, String baseCssSelector, WebPagerParameters pagerParameters, WebActionRetryParameters retryParameters, Nullable`1 timeout)
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.ExtractData.<Execute>b__53_3(IWebAutomationRuntime s)
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.WebAutomationActionBase.PerformWebAutomationWithLogging[T](Func`2 action, WebAutomationRuntimeLogData requestData, Func`3 resultData)
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.ExtractData.Execute(ActionContext context)
--- End of inner exception stack trace ---
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.ExtractData.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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,587 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,928 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow