Only getting last value of an array

Hi
My goal is to scrape the website for data then split value of the data I get and put it inside the CSV. The problem is that I get only the last value of my datatable in the entire table. can you guys please take a look and tell me what Im doing wrong?
Main.xaml (14.8 KB)

Hi @Tadas

Place you write csv activity outside the for each row in datatable and try

1 Like

Hi @Tadas

Made few changes to your code, please try this and let know.

Main (4).xaml (14.7 KB)

Tried that and it does not recognize FinalTable as Data Table

Can you send me the screen shot of the error? @Tadas

Tried the one you have uploaded and getting this error:
21.4.4+Branch.master.Sha.a8b5101efe02651274064093e9c7410fedff7696

Source: Add Data Row

Message: Object reference not set to an instance of an object.

Exception Type: System.NullReferenceException

RemoteException wrapping System.NullReferenceException: Object reference not set to an instance of an object.
at UiPath.Core.Activities.ScopeActivity.OnFaulted(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)
at System.Activities.Runtime.FaultCallbackWrapper.Invoke(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)
at System.Activities.Runtime.FaultCallbackWrapper.FaultWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

@Tadas

Update the FinalTable value

1 Like

That worked! Thank you @vinithareddyk123

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.