How do I turn that into a dynamic datatable in UiPath?
I’ve tried using “Add Data Row”, but that only add all data into one column. How do I tell UiPath which column to add data in? Is there any easier way to convert the data into a excel table straight away?
Just as a sidenote:
There’s always the Add Data Row activity:
If there’s a premade (f.e. by MS or UiPath) activity to do the same, it’s 99% of the time more efficient to use those (in your example, at least 2 Assign’s and the InvokeMethod are superflous).
Especially if you fall back to using InvokeMethod, as it really does a lot under the hood to bind to the method to call, propagate arguments etc., while most activities use direct calls.
It’s still often a necessity (f.e. all void methods that don’t have an associated activity), but not in this case.