How do I use the data scraping output for each
maybe your question was wrong interpreted
The output of a data scraping is a datatable
With the following activities
- For each row (classic)
- for each row in Datatable (next)
we can loop over the datatable
have a look on the documentation
Use it in the For each row in DataTable activity
In the Type Into activity
CurrentRow(ColNameOrIndex).ToString is needed
CurrentRow(“ABC”).ToString - ABC is Column Name
CurrenRow(2) - 2 is third column as the index is 0 based
Do not miss out to take some courses from the UiPath Academy as it introduces to such topics
Do you have any other query related to this subject @Yurdanur_Yusuf ?
If no, Close this topic by mark as a solved.
Just simple use like this
I’m sorry I did not understand.
The list did not separate word for word.
wrote as a whole
we would like to ask for some more details on the busines case and if possible some data samples.
Splitting and then again joining the values implementation is maybe a step which is driven by some requirements but can be alternated handled / implemented
Share us the input and output @Yurdanur_Yusuf
task3.xaml (27.4 KB)
in general we would set the typeargument of the for each activity to string
However we cannot derive your motivation to output the datatable as string, split it on space and typeinto the split items. Any reasons for this?
What do you need to achieve @Yurdanur_Yusuf
I want to print the data scraping output to build data one by one with add data
A further inverstigation let us feel, that you are trying to insert a list of keywords which are the different countries retrieved from the extract data
Split(text,“”) will not split as “” is used but the line break is the splitter
as you can see also the column name is present
You can create a flatten string of the countrie by following:
an array by this:
this is what i want
but i don’t understand how to do it