Python script running from Blue prism

pavani

New Member
Hi,

I am trying to run a python script which is updating the text file from Blue prism(start process action in environment object), so i have given the inputs clearly as defined by blue prism(one is python exe file and other is original python .py file) and the action is running successfully, but it is not updating file with text what i was written in phython script. But when i run manually it generating the text file with appropriate data.

Phython Code:
import pyotp
totp = pyotp.TOTP("JBSWY3DPEHPK3PXP")
file = open('MFA.txt', 'w')
file.write(totp.now())
file.close()

please help me on this. Thanks Pavani.
 

rahinik

Member
Get the output in text file for python code and utility - environment VBO-> start process. Then you will get the output in text file. Then read the text file through File Management VBO. It is common for all python codes
 
Top