0 votes
1 view
in RPA by (12.8k points)

In UiPath studio, the Invoke Python Method has parameters under input as Input parameters, instance, and name. The input parameters help in passing arguments from the UiPath workflow to Python code. Is there any way to access the arguments returned from Python code back to UiPath? If yes, Kindly help.

1 Answer

0 votes
by (29.8k points)

Just follow the steps given below and it should work:

  • Add a Python Scope. Make sure to set the path to the executable.
  • Add a Load Python Script activity, and create a new output variable to store the result in.
  • Add an Invoke Python Method activity and configure it (input parameters, instance, name, and result)
  • Add a Get Python Object activity, and convert the returned object into a .NET object (string in your case)
Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...