Hi @ekseri ,
Make sure you have given the Direction of the list argument as Out in Invoke Code Activity.
Out
Invoke Code