Passing arguments to Python




Im trying to use Invoke python Method activity with input arguments but its not working.

If i try to use this activity with out input arguments everything works fine.

Unfortunately when i try to pass string argument into it in form of List(of string) invoke method fails to run.

Activity fails even if argument isnt used in script


Can you send me a sample xml to properly understand what you are trying to achieve?


Ok i resolved the issue.

Turns out Python code cant use sys.argv if its to cooperate with UiPath.