Best way to run Python script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-09-19 05:43 AM
What is the best way to run python script in blue prism?
Appreciate the answer.
Thanks.
------------------------------
Harshith Kumar
Graduate Engineering Trainee
Schneider Electric
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-09-19 06:27 AM
You could utilise the Utility - Environment VBO and invoke your Python script through the Arguments under Start Process Action.
------------------------------
Jega Avinasinathan
Customer Support Engineer
Blue Prism
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-09-19 05:54 PM
Can I get output from that python script onto blueprism using your method?
Thanks.
------------------------------
Harshith Kumar
Graduate Engineering Trainee
Schneider Electric
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-09-19 05:35 AM
Using the Action (Start-Process) would not give you any outputs.
Output needs to be written into a file, and the file subsequently read.
Alternatively, you could investigate and experiment writing your own code stage.
Or expose your python script as web service and then invoke the web service into Blue Prism to retrieve the output value.
------------------------------
Jega Avinasinathan
Customer Support Engineer
Blue Prism
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-09-19 06:28 AM
Thanks.
------------------------------
Harshith Kumar
Graduate Engineering Trainee
Schneider Electric
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-09-19 10:08 AM
------------------------------
Gopal Bhaire
Analyst
Accenture
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-09-19 10:35 AM
Could You Elaborate on your solution, please?
Coz I'm not able to find Read Stderr and Stdout
Thank you
------------------------------
Harshith Kumar
Graduate Engineering Trainee
Schneider Electric
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-09-19 10:43 AM
I think the one that gets Standard Output and Standard Error was packaged with one of the V6 Blue Prism versions. Maybe 6.3 or so? I'm not sure.
You can download this one from the Digital Exchange. It has the action 'Start Process Read Stderr and Stdout' in it: https://digitalexchange.blueprism.com/dx/entry/9648/solution/blue-prism-environment
------------------------------
Dave Morris
3Ci @ Southern Company
Atlanta, GA
------------------------------
Dave Morris, 3Ci at Southern Company
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-09-19 11:01 AM
I have an older version.
Thanks for your solution.
------------------------------
Harshith Kumar
Graduate Engineering Trainee
Schneider Electric
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-03-23 07:11 PM
Hi Dave,
Can you please share the above link again. Because I am using BP V6.10, but I can't find the Action 'Start Process Read Stderr and Stdout'.
Thanks
------------------------------
Simanchala Pattanayak
Lead Solution Advisor
Deloitte USI
Bangalore
------------------------------
