For each and data scraping

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

1 Like

Hi @Yurdanur_Yusuf

have a look on the documentation

Use it in the For each row in DataTable activity

image

Regards
Gokul

hi @Yurdanur_Yusuf

In the Type Into activity

CurrentRow("Column Name").Tostring

Regards
Gokul

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
UiPath Academy

Very thanks

Do you have any other query related to this subject @Yurdanur_Yusuf ?

If no, Close this topic by mark as a solved.

Regards
Gokul

I wanted to do it this way.
but no spaces between words.
how do i put a space.

Hi @Yurdanur_Yusuf

Just simple use like this

Variable1+" "+Variable2

Regards
Gokul

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
grafik
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:

1 Like

this is what i want
but i don’t understand how to do it

Hi @Yurdanur_Yusuf

Check out the XAML file

task3.xaml (32.2 KB)

Regards
Gokul