05-08-23 06:09 PM
Hi All,
Can anyone please explain with a small example, how to use Python in Blue Prism.
Thank you.
06-08-23 04:33 AM
HI Madhu Garg,
Below thread will help you to use pythion in blue prism. I did some thing similar in the past.
https://community.blueprism.com/communities/community-home/digestviewer/viewthread?MessageKey=59a72d2d-3f19-4865-be1f-9a631971ce54&CommunityKey=1b679a41-ef27-4557-a2dd-9af040812654&tab=digestviewer
06-08-23 07:04 PM
Thanks Harish.
I have gone through the thread. Can you please explain with a small example (The Input & Output to be passed for the VBO mentioned in your reference link).
That will really help to understand better. Thanks
07-08-23 06:04 AM
Hi Madhu,
you can refer to below thread for input to be passed and output for the VBO
https://community.blueprism.com/discussion/execute-python-script
07-08-23 06:12 AM
Hi Madhu,
Please look at the thread shared by @Abhinav Kumar
FYI - User guide of this asset includes an example on how to trigger python script
https://digitalexchange.blueprism.com/dx/entry/3439/solution/blue-prism---script-execution-vbo-2
07-08-23 01:44 PM
Another thread here: Python with Blue Prism - Use cases, Potential, Experience, Insights | Blue Prism Product
Also, you can create your python program separately on dev/test machines as per your companies policies, make it executable (EXE) and run it through BP as any other program either through CMD or your preferred way. It's better to keep it if you Python program has come confidential code bits an pieces (i.e. hardcoded keys, network endpoints etc. - which is do not recommend to have but life is life, sometimes happens). Also you can simply make executable which is able to deal with input and output args.
Alternatively, if you run your Python through BP DX object, then your python code is exposed to all users who have access to device. Moreover the extra questions of security rise: who can access it, who can edit. Then you need to have Python libraries on device and so on...
Anyway, your imagination is only limitation to run Python .... and company security policies.
Good luck.