I would like to ask if there a tutorial on how to trigger a job in orchestrator upon clicking a button in a website.
I have a robot in orchestrator that will reset a password. Now I would like to trigger that robot upon clicking the submit button. below is a sample screenshot of a site.
You could have a Monitor events activity in the 1st process that will start the 2nd job (using Start Job activity in Studio) when you click submit button.
by the way this site will be accessible by any users using their own pc. is there a sample xaml that has the monitor event and Start Job activity? I really dont have an idea how does it work.
You would need to have front end robots on each persons machine for that to work. It would trigger from the persons PC.
The only other way would be to send this task when the user clicks the submit button (via an email) to a robot that is running a process for it to reset the password back end.
i think it is not ideal to have each users to have a robot on their pc. their only business is to have their password reset and nothing to do with the robot.
Please correct me if I’m wrong… so the other way is to send a task(password reset robot) to an email(outlook) whenever a user click the submit button?
yes it is for an internal system or let say an application. I have already a robot that will process the password reset in this application. i can already trigger this manually in orchestrator or via UiRobot.
now my goal is, to create a site where users will fill up the needed information(username, email etc). once the needed information are in place…user will click the submit button.
upon clicking the submit button i would like to call/trigger the robot in orchestrator to do the password reset.
You could try to program it so that when the user clicks the submit button, the input data is saved to a particular location on the harddrive. It is possible to have the robot that monitors the specific file for changes using File Change Trigger activity.
The idea here would be to have a bot monitoring a file change that would happen when user clicks submit button. Based on that trigger, as suggested by @ovi, you could start your second process.
If you are using Orchestrator, you could use Orchestrator API to launch your job.
In other words:
User fills in a form
User clicks submit
The click generates a file that is being watched by a robot
how will I do this?
3. a bot that monitor the click will be triggered
4. that monitoring bot which has a second job will then use Orchestrator API to trigger the robot that will reset password
You can have it that when the user clicks the submit button on the form, it can send those details to a mailbox which the robot can monitor - when an email is received the robot can then complete the password reset process.
The robot can be running continuously on the process.
I am assuming you own the google form(Something like this) - you would need to amend the for so that when a user clicks submit on the form, it sends a notification email to a seperate mailbox with the information required.
A robot would seperately be monitoring that mailbox for password resets.
i think this is not ideal on our setup. we have numerous users that will request password reset and also they are third party. so installing robot to them will not work.
@loginerror do you have a sample xaml that uses API?
Indeed.
Unfortunately I am not just there with my knowledge of Orchestrator to produce something with the API on the spot. There is quite some documentation though in the resources on the UiPath website that you could go through.