How To Troubleshoot Error " A Foreground Process Is Already Running Only One Foreground Process Can Run At A Time"

When running two processes at almost similar time on two classic Robots, then one job goes into running state and another one throws an error "A foreground process is already running Only one foreground process can run at a time" .

Issue Description: When running two processes at almost similar time on two classic robots, then one job goes into running state and another one throws an error "A foreground process is already running only one foreground process can run at a time" .


Resolution: In such scenarios, try out few workaround

  1. Use the same priority for all the jobs/triggers
  2. Disable SignalR from settings (with SignalR disabled, jobs may be picked up with delays up to 30 seconds)
  3. Downgrade the Robot to a version prior to 20.4 ( it uses the legacy protocol and works if using classic folders)

As this was identified as a bug from the Robot side, which is fixed in Robot v 20.10.11, upgrade to Robot v 20.10.11 or above and the issue should be resolved.

Refer Release Notes: