I'm getting an error in a PAD flow that's using an "Extract data from web page" action to examine the contents of an HTML table that looks like this:
☐ | Field1 | Field2 | Field3 | Field4 | Field5 | | Field6 |
☐ | 123456 | abcde | dsf | adf | sdfaf | | dfaf |
☐ | 369121 | fghij | dsfad | afa | dsfadf | | dafdsf |
☐ | 102030 | klmno | sdfds | adfaf | dsfaf | | dsfasdf |
I'll paste the full error below, but my reading of it is that PAD doesn't like the fact the 1st and 7th columns have no column names. My problem is that I need to flow to identify a particular row in the table based on the "Field" values, and then place a checkmark in the corresponding checkbox.
Has anybody come across this? Are there any workarounds I can use to sidestep this problem?
Error text:
Correlation Id: e7bcfd46-f52a-4387-80fe-aa6fc2f011ba
Column names can't contain null or empty strings.
Parameter name: columnNames: Microsoft.Flow.RPA.Desktop.Modules.SDK.Extended.Exceptions.InternalActionException: Failed to extract data (web page error while extracting data). ---> System.ArgumentException: Column names can't contain null or empty strings.
Parameter name: columnNames
at Microsoft.Flow.RPA.Desktop.UIAutomation.WebAutomation.Runtime.Actions.LocalWebAutomationRuntime.ValidateColumnNames(IReadOnlyList`1 columnNames)
at Microsoft.Flow.RPA.Desktop.UIAutomation.WebAutomation.Runtime.Actions.LocalWebAutomationRuntime.ExtractEntireHtmlTableFromWebPage(WebBrowserInfo webBrowserInfo, WebExtractionSelector tableSelector, IEnumerable`1 columnNames, 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.UIAutomation.WebAutomation.Runtime.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.ExtractEntireHtmlTableFromWebPage(WebBrowserInfo , WebExtractionSelector , IEnumerable`1 , 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.GetRemoteResult