Convert Object Array to String array

Hi guys,

I am trying to read Emailadresses via UiPath.GSuite.Activities.ReadColumn from a gSheet and use them in a UiPath.GSuite.Activities.SendMail Activity.

The problem is, the ReadColumn only accepts Object Array and the Send Mail activity need String arrays. Probably a simple solution for a read coder … :wink:

My idea would be an assign activity where I assign the string array with the object array somehow but I have no real clue how.

Best,
Oliver

@schatio
Welcome to the forum

as a quick shot can you try following?

Assign activity:
left side ItemArray
right side:
emailArray.Select(Function (x) x.toString).toArray

1 Like

Thank you PPR - This solution was quite fast!

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