How to convert a QueueItem to a List of String

Hello Everyone,

I’m trying to get all the items in the queue which are set as “new”. I am using the Get Queue Items activity to get those items.
After that, I’d like to include all these items in a list of string to insert it in a mail message.

However, I’m not been able to convert the IEnumerable to a List of string, because UiPath says that I cannot convert a List of Char to that.

Could someone please help me on that?

Thanks in advance

hie @Romulo_Rocha can you try this logic


store transaction value in string now to store this String value in a list of string

now if you want to check the output of list string data use 1 for each and inside pass log message and check the output result
cheers Happy Automation

the following is necessary

then we would also recommend to more sharp define on how the string / email content is to compile (falt string, seperators, datatable)

For the technical implementation also have a look here:
[HowTo] LINQ (VB.Net) Learning Catalogue - Help / Something Else - UiPath Community Forum

And have a closer look on how to bring a dictionary to a flat string:

myFlatDictContent =
String.Join(" | ", myDict.Select(Function (kvp) String.Format("{0}:{1}", kvp.key, kvp.value)))

On this case, the List of String will be replaced for each item due to the “New String” inside the For Each. I didnt get error doing that, but it is showing only the current Item. What I would like to get is the list with all the items

It was solved using the activity “Append item to collection”

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