OBLYTECH Logo
OBLYTECH Logo

ServiceNow RPA capabilities: bots, robots, queues and monitoring

ServiceNow RPA Hub is the control point for robotic process automation on the platform. It runs attended and unattended robots, tracks bot processes through their life-cycle stages, feeds work to robots through queues, and lets ServiceNow flows start and stop bots. The RPA Hub Workspace shows robot utilization, job status and queue backlog in one place.

What RPA Hub is built from

RPA Hub combines UI interactions with element-based automations that work across business applications, so a bot can repeat the steps a person takes on screen. The main building blocks are:

Component What it does in RPA Hub
Bot process A predefined sequence of actions that a robot follows to reach a goal
Bot process configuration The settings record for a bot process, mapped one to one to it
Package and package version The automation logic and its files. A publish from RPA Desktop Design Studio creates a new package or a new version of an existing package
Credential group A set of robot and application credentials, mapped to an unattended bot process
Queue and work item A repository of units of work that robots pick up, process and update
Shared and process parameters Shared parameters are used across bot processes. Process field parameters set or read the value of a field on a form

Unattended and attended robots

An unattended robot is a software agent installed on a Windows machine. It runs automations without human intervention.

An attended robot is also a software agent installed on a Windows machine, but it requires a person to be involved to execute its automations.

Attribute Unattended robot Attended robot
Human involvement during a run None Required

Robots move through In Use, In Maintenance and Retired. A robot cannot be retired while it is assigned to a bot process. For other platform terms used in this guide, browse ServiceNow concepts explained.

Bot process life-cycle stages and roles

A bot process moves through four stages. Build is the default for a new process. Published means it is ready to be active. In Maintenance is for making changes, and while a process is in this stage it cannot be started, stopped or launched in RPA Desktop Design Studio. Retired means it is inactive and its stage can no longer change.

Publishing is open to the release manager, developer, support user and administrator roles. For an unattended process, you create the bot process, associate a credential group, assign a robot to the bot process, assign a process robot credential within the bot process, and then verify that each assigned robot maps to a credential group. For an attended process, you create the bot process and assign an attended user or group. If the code quality check is enabled, the package version must meet the severity restriction in the sn_rpa_fdn.restrict_package_by_severity property.

Once published, the process form entries, robots, credential mappings and schedules are locked, so changes require moving the process to In Maintenance first.

Packages, queues and work items

A queue holds work items and spreads them across robots, so two or more robots can process items from the same queue at once.

Work items are created by the Add WorkItem to Queue flow action or by robot activities that create string or JSON work items. A robot picks an item, and once picked the item is stamped to that robot, so no other robot can take it.

Auto-retry handles failures based on the exception type on the work item form. Application exceptions are retried, and Business exceptions are not. The queue form sets Maximum Attempts and Attempt Delay (mins), and the work item form counts tries in Attempts Count. That behavior depends on the sn_rpa_fdn.queue.maximum_attempts_max_value system property being defined.

Robot pools, high density robots and graceful stop

A robot pool distributes workload among multiple unattended robots based on workload. A robot pool needs a queue: before a pool-enabled unattended bot process can be published, one queue must be associated with it and with no other bot process. Once the pool is enabled, the Assign Robots tab is hidden.

Graceful stop lets a robot exit at a defined termination point. The robot finishes the transaction it is working on and runs clean-up, such as closing applications that are still open. Without it, a stop ends the work abruptly. Picture a spreadsheet with six columns whose data is written into a downstream application. A hard stop at column C leaves columns D, E and F unwritten and the application open. With the Graceful Stop toggle switched on in the Stop Process section of RPA Hub, the robot writes all the columns and closes the application before it exits.

Robot pools need one more step. Graceful stop for pool robots requires the latest Washington DC release-specific Unattended Robot MSI. Without that installer, stopping a pool process terminates all of its robots abruptly, and graceful stop is not available for them.

High density robots run several unattended robots on one Windows Server machine. They use Remote Desktop Services to run each robot in its own user session. A high density robot cannot join a robot pool, and a machine that hosts high density robots cannot also host a non-high-density robot.

Hardware needs scale with concurrency. For a high density robot, you multiply the minimum and recommended hardware figures by the number of runtimes. With three users running jobs at the same time, the minimum is 6 cores of 1.8 GHz 64-bit and 12 GB of RAM. High density robots require Windows Server 2022, with .NET Framework 4.7.1 or later and DPI scaling turned off.

Flows and actions that control bots

RPA Hub adds actions to Workflow Studio, so a flow can start a bot, read its status or add a work item. For the wider concept, see action in Flow Designer.

Action Purpose
Start Process Starts a bot process on a list of robots. The robot list is ignored when a robot pool is assigned
Stop Process Stops a bot process, with an option to wait for a graceful stop
Fetch Created Jobs Fetches the process jobs in RPA Hub
Fetch Execution Status Reports the status of one process job
Fetch Work Item Status Returns a work item’s status, asynchronously
Add WorkItem to Queue Adds a work item to a queue and returns its ID
Assign User to Attended Automation Process Assigns a user to an attended bot process
Assign User to Attended Robot Assigns a user to an attended robot
Change Life Cycle Stage Status of a Bot Process Moves a bot process between its stages

Robots in the In Maintenance stage are reported as failed when Start Process runs. For the general pattern behind a flow calling outside systems, see integration pattern explained. See also ServiceNow integrations and workflow orchestration.

Connectors inside RPA Desktop Design Studio

The connector list in RPA Desktop Design Studio includes Microsoft Excel, Outlook and Word, PDF, Email, FTP, Chromium, Windows, Terminal (Mainframe), Secure Shell (SSH), Python and SAP. It also includes Table, List, Timer, IdleTimer and Counter.

Monitoring from the RPA Hub Workspace

The RPA Hub Workspace landing page includes:

  • Bot process summary, covering incident and change records tied to bot processes and robots, plus a donut of robot states.
  • Robot utilization, showing the highest and lowest utilized unattended and attended robots over a chosen period.
  • Process jobs, with a donut of jobs by status over the last 24 hours and a list of jobs running now.
  • Queues, showing pending work items, item status and Average Handling Time.
  • License utilization for unattended and attended robots.

ServiceNow Otto for RPA Hub lets a developer describe an automation or activity in plain language inside RPA Desktop Design Studio, then create or edit it, with preview options available. For the wider AI context, see ServiceNow AI and agentic automation.

System requirements and upgrade notes

A standard unattended robot needs at least two 1.8 GHz 64-bit cores, 4 GB of RAM and 50 GB of free disk, counted after the operating system, patches and base software are installed. The recommended build is four 2.4 GHz 64-bit cores, 8 GB of RAM and 100 GB of free disk. It runs on Windows 10 or Windows 11, or on Windows Server 2016, 2019 or 2022, with .NET Framework 4.7.1 or later and DPI scaling turned off.

For upgrades, download the RPA applications from RPA Hub and upgrade the installed RPA Desktop Design Studio, Attended Robot and Unattended Robot MSIs. Install Unattended Robot Login Agent alongside Unattended Robot when you run unattended bot processes. If you are moving from San Diego or Tokyo to Australia, set the glide.rollback.blacklist.TableParentChange.change system property to false before you upgrade RPA Hub. Upgrades from Tokyo or earlier can be slow, depending on the number of records in the application file table.

Frequently asked questions

Can a ServiceNow flow start and stop a bot process?

Yes. Start Process and Stop Process are RPA Hub actions in Workflow Studio. Start Process takes a process name and a list of robots, and Stop Process can wait for a graceful stop.

Does an unattended robot need a person present?

No. An unattended robot runs automations without human intervention. An attended robot requires a person to be involved to execute its automations.

Can more than one unattended robot run on one Windows server?

Yes, through high density robots. They run in separate user sessions on the same Windows Server machine using Remote Desktop Services, provided the machine supports multiple sessions at once. High density robots require Windows Server 2022.

Can a robot be retired while it is assigned?

No. A robot cannot be retired while it is assigned to a bot process, and robots move through In Use, In Maintenance and Retired.

Does graceful stop work for robots in a pool?

Yes, but only with the latest Washington DC release-specific Unattended Robot MSI. Without that installer, stopping a pool process terminates all of its robots abruptly, and graceful stop is not available for them.