Can we read DataTable from a Datatable Array?

Hi I have created an array with variable type DataTable and I am trying to access them using for loop but getting error like Object reference is not set like that. May I know is it possible to read DataTable using array?

Hi @Abdul_Rehman2

Can you share the screenshot of your workflow. And at which place are you getting the error.

Regards

Hi @Abdul_Rehman2

You can try like below

Output:

image

Regards,

@Abdul_Rehman2, Yes it’s possible with simple For Each activity. Just change the Type Argument property to DataTable and you are good to iterate all the DataTables in the array.

Thanks,
Ashok :slight_smile:

Yes, It is working now thank you for your solutions.