Invoke UiPath process from a JAVA based webpage



I want to invoke the UiPath process from external application. My idea is to have an UI (using JAVA and REST api), and when i hit a button in it, it should invoke the UiPath process(possibly a process that is set up in another machine) in background.
If possible, please post me an example/sample code. Thanks in advance.


You should connect the robot to orchestrator and start it via its API, StartJobs action. Alternatively you could start the robot via CMD. The java app should however run in a (or same) interactive user session not in session 0 (as a service). If you would like to start it remotly use e.g. PSExec.


Thank you… can u share me an example code if you have??