How to Trigger UiPath Script from Web Page?


Hi, I want to execute UiPath workflow when user takes certain some action in webpage, Please let me know How can we execute Uipath from Java/Php script.

I’ve tried to create .bat file and try to exeute using php’s system() & exec function but its not executing script.

My .bat file contains below:
“C:\Program Files (x86)\UiPath Studio\UiRobot.exe” /file:“C:\Users\kuldipsinh.gohil\Documents\UiPath\RulesConfigXML\main.xaml”

(when i paste above string in command prompt then its executing script)

Thanks in Advance!



Try using user Events instead. I believe is better approach to have the robot running on the background than asking to run it every time with a .bat file

Do you have admin access on the computer you are running the file?



@beesheep Thank for you Reply, Actually this script will execute on server and it should be trigger when user takes action on browser.

There is alternate, we can keep script running and in workflow we can put FLAG to execute my logic. FLAG can be DB table or File

For .bat file, It some some problem in my local server. Its working in different system.