Hello. I would like to have your input on the best approach to trigger automations from a website. We want to have the ability to trigger both attended and unattended automations (with the assumption that users all have UiPath assistant installed and connected to the right Orchestrator instance). I want to try the following options:
UiPath Apps: create an form for the apps that we map to the correct process and share the link on the website.
Use Robot JS: my concern is that to my understanding, robot JS works when the web application is on the same machine as the UiPath assistant. In this case the website will be on a separate server. Will that work?
Use Orchestrator API: this seems to only work for unattended automations. Can we use it for attended ones?
Using UiPath Apps is the best approach to trigger automations from a website. This approach allows you to create forms that are mapped to the correct process and share the link on the website. This ensures that users can easily access the right automation and trigger it. Furthermore, users don’t need to have UiPath Assistant installed on the same machine as the website as the form provides the necessary information for the automation to run.
Using Robot JS is not ideal as it requires the web application to be on the same machine as the UiPath Assistant in order to work.
Using Orchestrator API is the best approach for unattended automations, as it allows you to trigger automations from the website without relying on the UiPath Assistant. However, it is not suitable for attended automations.
I was working with projects for unattended approach. Website based on human actions creates transaction in specified queue. Queue trigger start performer bot. And in other project we had also website that send api request for a new job.
I think queue item is easier, but with start a job you could get more control (you can set specific machine or user account for instance)