I have a unattended robot account lets say robot1, i have 2 machines lest say machine1 and machine2. i have runtimes, so can i use same robot1 account and start 2 foreground jobs on machine1 and machine2?
Can the same Unattended robot username run foreground jobs on two different machines simultaneously?
No, an unattended robot account can run only one foreground job at a time, regardless of how many machines it’s provisioned on or how many runtimes you assign (runtimes only enable concurrency for background processes).
To run two foreground jobs on machine1 and machine2 simultaneously, you need two separate robot accounts (robot1 on machine1, robot2 on machine2). If the jobs don’t need UI interaction, mark them as background instead, then robot1 with 2 or more runtimes can run them concurrently.
Yes, the same Unattended Robot account can run foreground jobs simultaneously on two different machines.
For example, Robot1 can run one foreground job on Machine1 and another foreground job on Machine2 at the same time, as long as you have 2 Unattended Runtime licenses available and both machines are properly configured in Orchestrator.
The key point is that the runtime is consumed per machine/session, not that you need a separate robot account for each machine.
I tried exactly this (same Unattended robot, 2 runtimes intended, foreground jobs on 2 machines) and got ‘currently busy running another foreground job.’ What Orchestrator setting am I missing to make this work the way you’re describing?
Yes, the same Unattended Robot account can be used on multiple machines, provided the machines are properly connected/configured in Orchestrator and you have enough runtimes available.
For example, if Robot1 is connected to Machine1 and Machine2 and you have 2 runtimes, you can run jobs simultaneously on both machines.
So the key point is that the available runtimes and machine configuration determine whether both jobs can run at the same time.
A foreground job requires an interactive user session, and the same Unattended Robot account cannot run two foreground jobs simultaneously. This is why you are getting “currently busy running another foreground job.”
For two machines running foreground jobs at the same time, you would need separate user/robot accounts (with the appropriate licensing) for each concurrent session.
The 2 Unattended Runtime licenses alone do not allow the same robot account to run two foreground jobs simultaneously.
Apologies for the confusion. My first response was incorrect.
The correct behavior is: the same Unattended Robot account cannot run two foreground jobs simultaneously. That is why you received the “currently busy running another foreground job” message.