How to get headers from datatable in UiPath

Sometimes the business requirement is to get only the schema of the excel file.

We will see how we can achieve this in UiPath

  • Implementation in UiPath******

Step 1:- Drag a build datatable activity in designer panel.
image

Step 2:- Drag an assign activity and fill the value with the formula.
image

Step 3:- Drag an “Output Data Table” activity to convert the datatable to string.
image

Step 4:- Drag message box to print the result.

Step 5:- Lets run the workflow now.

I hope you enjoyed the article!

Happy automation!

Hi @Nitya1 ,

Thanks for this useful information :slight_smile: