RPA Desktop Design Studio is the Windows application where developers build ServiceNow RPA automations. The sequence runs in five stages: install the application, connect it to an RPA Hub instance, build the project, check and test it, then publish it as a package or a template. This guide follows the Brazil release. For the wider picture of what RPA covers in ServiceNow, see the RPA capabilities overview.
What the workstation needs
The application runs on Windows. The ServiceNow login screen needs the Microsoft Edge WebView2 Runtime, and DPI scaling must be turned off, so check both before the installer starts.
| Resource | Minimum | Recommended |
|---|---|---|
| Processor | Intel Core i5 class | Intel Core i7 class |
| Memory | 4 GB RAM | 8 GB RAM |
| Free disk space after the OS and base software | 20 GB | 50 GB |
Supported systems are Windows 10, Windows 11, Windows Server 2016 and Windows Server 2019, with .NET Framework 4.7.1 or later. The listed display is 1920×1080, and DPI scaling must be switched off.
Microsoft Edge WebView2 Runtime is also required, because the ServiceNow login screen depends on it for RPA users. Check for it on a fresh machine.
Installing the application
Installation needs the admin role. Download the RPA applications from RPA Hub, unzip the archive, then run the Desktop Design Studio installer. Accept the default folder or pick another with Browse, click Next to confirm, and close the completion dialog. A desktop icon appears when the copy finishes.
Connecting to an RPA Hub instance
The first launch opens the Connection Manager. Enter a Name that identifies the instance, such as Dev instance, and the instance URL in the form of your instance name followed by the service-now domain. Mark as default makes the app open straight into that instance; clearing it brings up Connection Manager at each start.
After Proceed, the app downloads the RPA plugins and shows the RPA Hub login page. Entering credentials without selecting Allow on the next screen times out the session. You also authenticate at each launch, and cancelling the login stops the app from opening. If you see a message that the RPA plugins are not available, the URL points to an instance without them.
Building an automation project
A project is the unit you publish, and it is made of activities.
Activities and ports
A new project starts with a Main activity, which is the startup activity by default. Execution begins at whichever activity is marked as startup, so choose that one deliberately. Each activity contains Start and End components that cannot be deleted. Parameters added on Start appear as Data Input ports when the activity is dropped into another activity, and parameters added on End appear as Data Output ports.
Components are dragged from the Toolbox onto the design surface. Control ports, drawn gray, decide which component runs next. Data ports, drawn orange, carry values between components, with inputs on the left and outputs on the right. A Data port that carries a password can have logging turned off, which turns it red. Dropping a component between two connected components inserts it into the chain, and data connections form when port names match and the types can be converted. The types must be convertible in the right direction, so an integer can feed an object but an object cannot feed an integer.
Before deleting an activity, run Find All References and delete each caller that uses it.
Plugins and connectors
A plugin is a bundle of Windows library files that adds capability. Universal App Connector covers Google Chrome, Edge, Java and Windows applications, and Chromium targets Chrome and Edge. SSH, FTP, SAP, Java and Terminal (Mainframe) cover their named technologies. Internet Explorer, Essential Connectors, Essential Toolkit and Universal App Connector are present by default.
Other plugins are added from Plugin Manager, opened from the View tab or from Plugins in Project Explorer. Select a plugin on the Available tab and choose ADD. To update, select UPDATE, then save, close and reopen the project so the new version loads.
Connectors live under Global Objects. Right-click that node, choose Add Connectors, and tick the ones you need. A duplicate instance gets a numeric suffix, so give each one a meaningful name in the Properties pane. The connector table lists 26 connectors, including Excel, Word, Outlook, PDF, Email, FTP, List and Table.
Attended automation forms
Forms belong in an Attended Automation project. Right-click Forms, choose New Form, then right-click the form and select Design. The Form Designer has four panes: Toolbox, Outline, Design surface and Properties. Form Renderer is the element for configuring form fields, and Window-level settings such as ResizeMode are changed by selecting the window in the Outline pane.
User plugins for .NET code
When a standard connector does not cover a .NET component, build a user plugin in Microsoft Visual Studio. The worked example uses a Class Library (.NET Framework) project targeting .NET Framework 4.7. Reference System.AddIn, annotate the class with an AddIn attribute that holds a name, description and version, and add public static methods. Build the project, then copy the .dll files from the bin and Debug folder into a folder named UserPlugins inside the automation project. The spelling must be exact. Create a subfolder for the plugin, paste the files, and in the app, select the plugin in the Available User Plugins dialog box. It then appears in the Toolbox pane.
Error handling
Right-click a component’s title bar, or an activity, and choose Error Handler. Activity-level settings apply to the components inside it, unless a component has its own setting. The handler types are Inherit, Stop, Continue and Retry. Inherit takes the parent’s setting and is the default for components. Stop is the default for activities. Retry needs a Max Retries count and a Retry Delay, and On Error After Retry then decides between Inherit, Stop and Continue if the error persists. Retry is most useful when a failure may clear on its own, for example a window that opens late, so the component gets another attempt after the delay. For broader Flow Designer failure patterns, see the troubleshooting guide.
Reusing work across projects
Import brings activities, variables, forms and global objects in from another .iBot project file, with a choice to merge or override conflicting items. A proxy is narrower: right-click a Data In or Data Out port, choose Create Proxy, then tick the properties to expose. The example exposes Day and DayOfWeek from a DateTime component.
Running and checking quality
Run sits on the Design tab and starts from the Start component of the startup activity. For a project with several activities, place them under one Main activity in execution order, mark Main as startup and run it, so the whole chain is exercised. For a broader test plan beyond these checks, see the testing and acceptance checklist.
Code quality check tests the automation against rules that release managers or administrators configure in RPA Hub. Rules carry a severity, a regular expression, an active flag and a value. On the Design tab toolbar, select Code quality check, then choose Check complete project or Check current activity. Results open in the Code Quality Check Results window as a list of entries. Double-click an entry to jump to its component, and use View Rules to list active and inactive rules.
The instance controls the effect on publishing. The system property sn_rpa_fdn.enable_code_quality_check must be true, sn_rpa_fdn.restrict_package_by_severity sets the threshold, and sn_rpa_fdn.code_quality_check_timeout sets the maximum minutes allowed. A project with an error status fails to publish under an error threshold or an error-or-warning threshold, and publishes when there is no restriction. A project with warnings alone fails under an error-or-warning threshold. A passing project publishes under any threshold. For the broader governance around these rules, see the governance model.
Publishing to RPA Hub
Publishing sends the whole project folder to RPA Hub, so keep the project in its own folder. The role must be sn_rpa_fdn.rpa_developer or sn_rpa_fdn.rpa_admin, and the connection must already point at the right instance. For the wider access model behind these roles, see the security and access design guide. Click Publish on the Design tab and choose one of two forms:
| Form | What RPA Hub does with it | Typical use |
|---|---|---|
| Package | Runs it as a process job | A finished automation for bots |
| Template | Offers it as a framework for new projects | A structure others will start from |
Choose New package, or New version to add to an existing package or template from its list. Enter a comment and select Publish, then OK.
For a package, code signing is optional unless your organization mandates it. Under Certificate location choose File or Cert Store, then select a certificate whose intended purpose is code signing. Any other purpose returns an error. If the instance property sn_rpa_fdn.code_signing_required is on, the automations linked to packages published without a signature fail. Publish the package again with a signing certificate and they run again.
Opening existing projects
Choose Home, then Automation projects. Open local project opens a package file you downloaded from RPA Hub. Open cloud project opens a published package by name and version and needs the sn_rpa_fdn.rpa_developer, sn_rpa_fdn.rpa_support_user or sn_rpa_fdn.rpa_admin role. If a plugin version is missing locally, the Choose Plugin Version dialog lets you select one. Opening a project from an older release shows Upgrade Plugin Version, and any component unavailable after the upgrade is marked Unknown in the project.
Frequently asked questions
Why does the app ask me to log in at each start?
Cancelling the login stops the app from opening, so the step cannot be skipped.
What is the difference between a package and a template?
A package is published so that RPA Hub can run it as a process job. A template is published so that it becomes the starting framework for new projects. Both are versioned.
Why was my project blocked from publishing?
The code quality check found errors or warnings, and the instance threshold blocks that result. Open the Code Quality Check Results window, fix the entries and publish again. The RPA administrator controls the threshold.
Which release does this guide describe?
This page covers the Brazil release. Some steps and labels can differ in other releases, so a procedure taken from a different version may need small adjustments.