I have two background processes that I need to run simultaneously in unattended mode. However, when they are triggered from the Orchestrator, only one executes while the other remains pending. But if I run them manually via the Assistant, they execute simultaneously. What do I need to do to make them run simultaneously when triggered from the Orchestrator?
Hi @nevesisabela963 ,
Can you check the license allocation
Check Robot License and Runtime Capacity
Each Unattended Robot (on a machine) can run one foreground and multiple background processes at the same time.
However, you need enough runtime capacity on your machine.
Solution:
-
Go to Orchestrator > Tenant > License > Unattended Robots
-
Ensure your robot has enough runtimes assigned. If it has only one runtime, it can execute only one process at a time.
-
If needed, increase the number of runtimes assigned to the machine.
Regards,
Arivu
That is the expected behaviour. You can run n number of background processes only in Attended licence. In unattended scenario it’s only one process at a time. Be it background or foreground.
Running several unattended automations at once consumes a separate Unattended license for each one.
One attended license can run multiple background and one foreground
When it comes to unattended yes multiple background and one foreground still stands true but each one needs a separate license…its not like one license would suffice for all
Cheers
Behaviousris expected only
Running from assistant is conusming the Attended license which is happening in the user session only. Hence one foreground and multiple background is possible
While running from UnAttended - It is happening from the windows session which require multiple license to be allocated to the same machine to run in parallel
Try to Increase the Unattended Robot runtime capacity in Orchestrator under Tenant > Robots > Edit Machine to allow multiple background processes to run simultaneously. One Attended license can run multiple background processes and one foreground process at a time.
If it’s found helpful mark as solution
It makes total sense—there is only one runtime available. But what intrigues me is that when starting the processes manually, it’s possible to have two processes running simultaneously.
It seems to be something related to how the process is triggered by the Orchestrator.
Even though it feels the same while running manually and while running unattended - there are differences in the way a session is taken by the UiPath in a system
In short - while running manually - UiPath runs in the same user session. While running unattended - UiPath is running from a different windows session which require multiple runtime license
Yes, when starting manually, it runs in the same session, but through Orchestrator, each process needs to be assigned to a separate runtime to run simultaneously. You may need to adjust the robot configuration or trigger multiple processes under different machines for parallel execution.
I hope it’ll helpful. thanks
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.