UiPath provides us the flexibility to trigger the robot in different possible ways.
We can use…
1. The UiPath Robot icon in the system tray or
2. UiPath Studio or
3. Remotely, from Orchestrator
Now let’s see how to trigger a process using .bat file!!!
1. UiRobot.exe_Path is your local path where the UiRobot.exe is available
2. Main.xaml_Path is your local path where the .xaml which you want to execute is available
Implementation using UiPath :
Let us implement a workflow which displays “Hello Word!!!” and then we will run the workflow from “.bat file”
Drag “Message Box” activity into the design panel and populate it with some data.
Now open a notepad,
Provide the information needed as shown below :
Then save the file as a .bat file.
Finally, when you try to run the “.bat file” that you have just created.
The workflow will be triggered and it displays the “Message Box“!!!
Click here to download the Source Code…
Hope it has helped you…