From the course: UiPath: Robotic Process Automation (RPA)

Publish a package

- [Narrator] UiPath Orchestrator makes it very easy to publish robots you've created or updated from a local death machine into the Orchestrator server. Let's look at publishing a package from a Robot to Orchestrator now. To demo this, I have opened up UiPath studio and I am going to create a brand new robot. You can follow along with me and create the same robot or just upload a robot you've already created. I am going to select blank, and name this My Remote Robot, because we are going to upload it to a remote server. I will copy and paste that down here and I am saving it in C:\development\uipath as usual. I'll double click this ribbon for now to give me some more real estate. As you know, we need to start with a sequence or a flow chart. I'll just grab a sequence and drag and drop that here. I'll rename this as Remote robot stuff. Now of course we could add activities to do whatever we want when this robot runs. I want something visible, so I'll type in message box and I'll drag a message box in and I'll create a string and I'll just type in Hello from Orchestrator. So that way when the robot runs, it's going to pop up a dialogue in our face and the robot will stay open until I click that message box to dismiss it. I'll also quickly demonstrate how we can interact with the file system, so I'll type in text here, drag this out a bit, and I'll grab Write Text File and drag that in. So we need a file name here, and then some text to write. So for the file, open my quotes again, I'll use c:\orchestrator-output.txt and in here, I'll just copy this same text from my message box and paste that there. And now finally, we can see some results in the Orchestrator log from this robot, let's use Log Message and drop that in after we write a text file. In here I'll open my quotes and say the robot worked. And that's my robot. Ill hit Ctrl + S to save. Since this computer is connected to Orchestrator, UiPath makes it really easy to publish these robots. If you click on the set up tab, all you need to do is click on Publish and the robot automatically gets pushed up to this URL here, and our Orchestrator instance knows where that is. Of course if this was an On-Prem instance, this published location would be pointing at your On-Prem server. You can use CTRL + C to copy the information if you need to notify anybody, but all we really need to do is click on OK and now we can close Uipath because this IDE doesn't need to be open to run the robot. There is a robot service running in the back end and that's what Orchestrator will control. In the next video, we'll create a process and schedule it.

Contents