Get value from For Each Row

My workflow output is correct. Sometimes there will be 1 value, sometimes there will be many values. How do I get the Write Line ‘rowValue’ out so I can capture all the value(s)?

Attached is a sample workflow and excel file.

Main.xaml (9.8 KB) ExcelFile.xlsx (8.5 KB)

Thank you!

Hi @Jessica_Moseley

Did u mean u need to get all row values in single write line ?

Good question, I may be asking it wrong.

I need to identify the output so I can get the row value(s) and write them to a Word document.
For this example, the output is “hey apples oranges”
I see it’s correct in the write line but I need to use them to write to a Word doc.

Does that help clarify?

In this case, use Word Document Activities and in that use Append Line to write each row data to a new line in the word document.
Package name: UiPath.Word.Activities

Check if this solves your problem