I’m trying to use Python Activities in Studio to execute a Python file(which connects to Mongo & fetches the output). Tried the conventional way of giving a Start Process - to open mongo, manually using click activities, type into, etc & then using get text to scrape data.
Now I’m trying to modify this workflow, wherein it calls a Python Script in the background & that handles DB connection & execution just like any other programming language & returns the output.
Workflow --> Python Scope(Using Python3.5) --> Load Python Script --> Get Python Object --> WriteLine
Scope activity & load script seem to be working just fine. But Get Python Object is erroneous:
“Error converting the Python Object”
Tried using the debug mode, breakpoints, etc. The output from Get Python Object is always NULL.
It doesn’t seem to be converting the Python Object to a String or Int32.
Attaching the error herein.