Passing arguments to Python

script
activities
arguments
python

#1

Hello,

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


#2

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


#3

Ok i resolved the issue.

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