How to read the list that is inside the Add To Collection activity?

Hi,

This is my Add To Collection details

collection_info

I want to read the list that is inside the Add To Collection activity, thus I use a MessageBox for testing

display_list

However when I run the workflow, it shows this

message_box

Does anyone know why is it like this ?

Thank you

Please use for each activity to loop thru the collection and to print the values.

For Each item in yourList
MessageBox item.ToString

→ With out loop, to print the values in a list
string.Join(ā€œ,ā€, yourList.ToArray)

4 Likes

Hi KarthikByggari,

Thank you!!

1 Like

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