Python Process Not Returning any value

i have a python script which will execute some logic and returns a string
so in my process i have created a
-> python activity
-> and declared an out Argument names “rowcount”
-> and given this argument as a value to PythonOutputParam
i.e PythonOutputParam = rowcount
-> and when i want to print this argument(rowcount) to console its not returning any value

I want that return string as a input to some other process.any suggestions please.

PS:- i have defined python path and i have some other python activities in my process and they are running finr.

Hi,

I am giving a sample code just to return a given input string. You also, need to map PythonOutputParam property in property window for out put argument

image

Regards,
Amit Anand