Python Object Error in Uipath

In a python script that has a list as return type,

I want to convert that python object to uipath list, but I’m getting an error.

sharing few screenshots.
image

i tried the python oject type as (1) system.collections.generic.list<uipaht.core.genericvalues>
(2) system.collections.generic.list

In both cases Null value received

(3) array[Stings] also not work

Here in python script, the return data type is a list, what should I select in the variable panel to catch the list.

Simply Object or Array of Object works for me

image

image

df.values.tolist() will return a 2-D array so array[String] won’t work. Change it to Array[object] or Array[Array[object]]

thanks

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