Trigger Job by button click from a website

Hi,
I have a general question which need advise on.
I have a web form that require users to fill in some information and the user will have to click ‘Submit’ button to process the information.

My questions are:

  1. How can I trigger a job to run in orchestrator when the user click submit button?
  2. Does the user need to have robot setup in orchestrator in order for the job to run ?

Hi @NAJAA_BAZILAH

As you need to trigger job based on the website submit button - For this you have write a onclick Javascript property and call the UiPath API

Check UiPath API documentation Orchestrator - Jobs Requests

Yes, This require a robot setup in Orchestrator, This is unattended mode

If you have the attended mode then user can click from UiPath Assistant itself

Hope this may help you

Thanks

Yes, This require a robot setup in Orchestrator, This is unattended mode

Is that means all users need to have a robot ? Can it be only 1 user robot that perform for all users.

Hey @NAJAA_BAZILAH !!

What application is the form? Do you have control over it? For the case you are talking about, you can have some approaches with RPA or API. By RPA, you could have a monitor robot serviced, which would constantly check for any sign of completion of this form. Or an event based via API, which would be the job in Orchestrator. Tell us more about the applications involved.
Thanks!!

Hi @NAJAA_BAZILAH

Store the input data in the particular loaction. It is possible to have the robot that monitors

Have a look on the documentation

Regards
Gokul

Hi @gabrielribas4 ,

Yes, I do have control over the web form. The web form is just a simple form code using VB.net.
I would need to add the function of triggering the orchestrator job at the button click.

However, I’m not sure whether it is possible to perform it from RPA side.

Via API is by using Ochestrator API is it ?

1 Like

Thank you, will definitely check this !

1 Like

You could program in your form code to send an HTTP request to your Orchestrator using the Startjob Endpoint. That way you wouldn’t need to allocate an entire machine to a monitor robot, which is very expensive.

https://docs.uipath.com/orchestrator/reference/jobs-requests

Hi @NAJAA_BAZILAH

Check and let me know if you face any challenge

Regards
Gokul