UseCase: Simultanious Job Execution_Unattended

Hi guys,
I have a use case to better understand the unattended setup.
Lets say i have:

  • 1 Windows Server VM
  • 5 Runtime Unattended Licences assigned to one Machine Template
  • 1 Robot Account(automation user role) assigned 1 AD user to login to VM.

If i need to run 5 foreground jobs in the same time, can this robot create 5 different session in Windows server with the same AD user? Or do i need to create 5 Robot Account and assign to each an AD user. This would help me a lot! Thank You!

Hello @Albi_Xhako,

You need to have 5 AD users if it’s on the same VM. If you have 5 VMs in the same template, then this user alone can be sufficient. The same VM with the same user cannot have 5 instances, but one VM with 5 users or 1 user across 5 VMs is possible.

Thanks,
Karthik

Hi @chinthakayala_karthik

But i just read UiPath Documentation that says that 1 Account can run only one foreground process at a time. I think that Runtimes here are suficcient but can the robot account linked with only one AD user , login in 5 different VMs and execute in the same time 1 foreground process on each?

Hello @Albi_Xhako,

Yes, if all your processes are foreground processes then you can have 5 VMs and 1 user will work. In case you have one foreground process and 4 background processes, then one VM and one user will work.

Thanks,
Karthik

Hi again @chinthakayala_karthik .
But how one Robot Account which has 1 AD user assigned to it can maintatin 5 different sessions with 5 VM in the same time? Thinking on audit terms this doesnt look right to me.
I know that having 5 Robots and each of them having 1 seperate AD user would be ideal but i need to understand if UiPath has the capability of having one Robot account doing the same foreground job 5 time simultaniously in 5 VMs.

Hello @Albi_Xhako,

Yes… one robot account on 5 VMs for the same foreground jobs can be executed.

Even if you have multiple robot accounts and multiple VMs, if you are not defining account-machine mapping, you cannot be sure whether they are running on different machines or on the same machine with different users / the same user on different machines.

From an audit perspective, please check with your security team as this depends on the organization. If it’s not allowed, maintain account-machine mapping.

Thanks,
Karthik

Hello again @chinthakayala_karthik
I want to make it clear as this is important for the exam purposses.
1 Machine Template which has 5 Unattended Runtime Licences.
1 Robot Account (linked with only 1 AD user)
5 Virtual Machines.
I want to run 1 Job, 5 times in the same time, simultaniously and NOT one by one.
This means that once i Start Job the same Robot Account with the same AD user linked to it, will have to start in the same time 1 Window Session to each of 5 VMs( 5 Windows session in total) - You are saying this is possible but UiPath Documentation says that 1 Robot Account can run only one foreground process at a time. So this makes it difficult to decide which is correct. Thank you!

To go further..
UiPath says that Orchestrator opens a foreground process under a robot account. When you open the first process in the first VM is fine but when u open the second one Orchestrator needs to assign a free Robot Account to this other foreground process. So even though we have enough Runtimes we are limited in Robot Accounts.
Waiting on further feedback if possible..
Thank you
Albi

@Albi_Xhako

Ideally you need to have separate robot accounts and one account can link to one ad user only at a time..so it should be one to one mapping

So one account at any given point of time can run only one foreground at one time

Cheers

Hi @Anil_G.

Thank you for your feedback.