fanny.j
(Fanny)
November 3, 2021, 12:52pm
1
Hi.
I want to create a Data Table with an assign activity. I do not want to use a Build Data Table , as it does not work with the UiPath.System.Activities 21.4.1 package.
The Data Table I want to create should consist of two columns that contain strings. How do I do it without the Build Data Table activity?
Thanks in advance.
lakshman
(Ganta lakshman)
November 3, 2021, 12:59pm
2
@fanny.j
Welcome to our UiPath community.
We should use Build DataTable activity to create DataTable.
May I know what error are you getting here ?
If you have existing DataTable then you use below expression to create DataTable with Headers only.
NewDT = InputDT.Clone
Yoichi
(Yoichi)
November 3, 2021, 1:01pm
3
Hi,
We need Assign activity and InvokeMethod activity for it. Hope the following helps you.
Regards,
1 Like
fanny.j
(Fanny)
November 3, 2021, 1:06pm
4
This is the error message I get.
That it does not work I base on this post, Uipath datatable - #6 by scott.booher
fanny.j
(Fanny)
November 3, 2021, 1:17pm
5
This works! Thanks so much for the help!
1 Like
system
(system)
Closed
November 6, 2021, 1:18pm
6
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.