Retrieve Output/Return value (simple/complex structures) from Python Scope in UiPath

Hi Bob,

thx a lot! That actually did the trick! It works, I let the python script return a JSON-string with

return df.to_json(orient='records')

and read it in UiPath as a String in ‘Get Python Object’

and then parse this String using the ‘Deserialize JSON’-activity according to the info given in this thread: Convert json to Datatable - #4 by Florent_Salendres .
Now I have the data available in a dataTable. Great!

Thx again and cheers!

Sebastian

3 Likes