Passing Python List into Workflow

Hi @chris.shanor,

Welcome to the community!

In my previous tests, handling return values from one programming language to another ( in this case python to .net ) is always cumbersome. Therefore, I suggest you change the return value to a json string. Here is a post where I given an example.

In short :

import json

def YourFunction():
     YourList = [1, 2, 3]
     return json.dumps(YourList)

Call you YourFunction in UiPath. Desearlize the json string to access the Jsonarray.

1 Like