Hi,
I am doing the Advanced RPA Developer Assignment 1- Calculate Client Security Hash.
While attempting to retrieve the work items from the table using data scrapping wizard, a set of sample data returns as shown below.
when unit testing the workflow, I want to see the contents of the dataTable using writeLine activity to test, but the data table is blank.
My workflow is attached herewith. Kindly advise…
System1_Extract_WorkItems.xaml (8.8 KB)
Hi @Ramashita
It is a data table, you can use the count property to know if the table is empty or not
ExtractDataTable.Rows.Count.ToString
Or if you want output of datatable as string, you can use Output DataTable activity for the same.
Thanks,
Prankur
1 Like
Hi Ram,
UiPath.Core.Activities.OutputDataTable
Writes a DataTable to a string using the CSV format.
Please see this workflow for more details!
System1_Extract_WorkItems.xaml (8.8 KB)
Thanks!
Hi @PrankurJoshi
Solution has worked.
Thank you for the advice.
1 Like
Hi @kadiravan_kalidoss
This solution worked.
Thank you for the advice.