Invoke Python Method - how to add input parameters in C#?

Hi

Welcome to UiPath forum

when you are working with the Invoke Python Method activity and need to pass input parameters using C#, you should use the Object[] array to represent the input parameters

In assign activity
Object[] inputParameters = new Object[] { 2, 3 };

hope this helps

Cheers @CheesecakeX

2 Likes