0 votes
1 view
in RPA by (5.3k points)

in UiPath RPA, how can I create a collection variable with different datatypes? For example, a collection of strings, numbers, booleans or even arrays or lists. Tried to look in System.Collections.Generic, but couldn't find the relevant one.

1 Answer

0 votes
by (9.5k points)

you can try to Create a new variable. Select System.Collections.Generic.List<T> for the type, then select your custom class. Here's a collection custom objects.

list of excel cells

Alternatively, use an Array<T>, and then pick your custom class. The following image shows a string array:

string array

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...