Copy Data Table

Hi,

After scraping the data using Data Scrapping, I am trying to sort the Extracted Data Table into another Data Table, but I am getting an Error as below.

I am attaching the error and Xaml file, guys could you help me to sort the thing.

Thanks in Advance.Error extract data.xaml (10.9 KB)

hello @anudeep_k
i checked your workflow .its working fine .
i does not found any error.

1 Like

i just changed datatable name as SortedDataTableArrgument in foreach activity

2 Likes

@anudeep_k

I just changed the variable name from SortedDataTableArrgument to SortedDataTable. Other than else I did not find any error in your workflow.

Please find the attached workflow.

extract data.xaml (9.4 KB)

Hi Guys,

If I run the same process for four to five times I am getting that error. But I’ll try to run that few more times and if I find the same I’ll come back to you again.

Thank you so much for your support.

1 Like

Hi @anudeep_k

This issue will come when there are no rows after filter and if you try to use .CopyToDataTable method to convert it into a data table. i included a check in the code. Please find below attached code.

extract data.xaml (13.6 KB)

Regards,
Vijay.

Thank You @sandeep13, @lakshman, @Vijay_Kumar_C It’s Working.

2 Likes

Done

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.