cancel
Showing results for 
Search instead for 
Did you mean: 

Help with Passing Arguments to "Utility - Environment :: Start Process Read Stderr and Stdout" in Bl

lokasnega08
Level 2

Hi everyone,

I am trying to run a Python script from Blue Prism using the "Utility - Environment :: Start Process Read Stderr and Stdout" action. The script moves a folder into another folder.

What I Need to Do:

I need to pass the following arguments to my Python script:

  1. Python script file location (e.g., "C:\Users\babul\Favorites\Blue prism\Python scripts\Move Folder Inside.py")
  2. Source folder location (e.g., "C:\Users\babul\Desktop\Folder 1")
  3. Destination folder location (e.g., "C:\Users\babul\Desktop\Folder 2")

Problem:

I am having trouble figuring out how to correctly pass these arguments into the "Parameters" field. I keep getting syntax errors when running the process.

Question:

How should I properly format the arguments in Blue Prism so that Utility - Environment :: Start Process Read Stderr and Stdout executes the script correctly?

Any help would be appreciated! 

Thanks in advance! 😊 Screenshot 2025-03-05 155556.png

Screenshot 2025-03-05 155610.png

1 REPLY 1

Nandhakumar
Level 7

Hi @lokasnega08 ,

Please find the parameters to be passed. Make sure the python is installed in the machine you are executing the process.

Process Name: "python.exe path"

Arguments: "Python script path"

Please try this and let me know.

Thanks,

Nandha