Array of Strings - Compiler error BC 30311: value of type '(string, string)' cannot be converted to 'string()'

Hi all,

I just started the UiPath Academy Course “RPA Developer Foundation”. In the part “Variables and Arguments in Studio” I come across the following problem:
I am creating a new variable of the type “array of [T]” / “string”.
Using an “Assign” activity to assign this variable the values (“John”, “Doe”) yields the above error message (value of type ‘(string, string)’ cannot be converted to ‘string()’).

What have I missed?

Thanks so much!


Welcome to the community

For adding array you have to use flower/curly brackets not round.please try this


Hope this helps


1 Like

Thanks, Anil!

I must have missed that detail!

Really appreciate your quick help!


1 Like

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