Integration Hub Remote Process Sync connects one business process that runs across two or more ServiceNow instances, in one direction or both. You define the process on each side, link the instances through remote system records, and attach Workflow Studio subflows that decide what gets sent and how incoming data is handled.
When Remote Process Sync fits
A typical case starts on one instance and finishes on another, such as a request raised by one organization’s users that must be fulfilled in a different instance. The framework carries those hand-offs so both sides stay in step as records change.
Simpler options exist. Instance Data Replication and the Remote Instance spoke cover straightforward multi-instance integrations. Remote Process Sync targets more complex cases that are organized around business processes rather than copied tables. In the Brazil release, it replaces the eBonding spoke for integrating instances. Teams comparing options can start with the ServiceNow integrations overview.
Plan around the subscription early. Remote Process Sync requires an Integration Hub subscription, and the setup steps call for the Integration Hub Enterprise package on each instance. Confirm the entitlement on the instance before building.
Building and managing the integration
Building means creating a process sync definition and its related records. Managing means watching the outbound and inbound queues, checking errors on triggered definitions, and deciding whether the subflows need changes in Workflow Studio. Both depend on regular contact with the administrators of the remote instance, because the process crosses their systems too.
Start under IntegrationHub > Remote Process Sync > Process Sync Definitions and select New. Name the definition after the part of the process this instance handles, such as Service Catalog Request Fulfillment. Application is set automatically. Choose a domain other than global when the process relates to a specific domain. Once saved, the definition lists five related records: Capture Definitions, Process Events, Remote Systems, Outbound Flows and Inbound Flows.
Capture definitions and process events
A capture definition sets when data leaves the instance. Its trigger names a source table and an optional filter built with the condition builder. For example, a filter on State changing to Work In Progress fires the definition each time that update happens. The trigger covers record creation, updates and deletion. Set State to Active so the trigger can fire, and use Order to rank definitions, since lower values are honored first.
The outbound payload always contains the captured fields, whether or not they changed, so the receiving flow gets a complete picture. Captured changes include interactive and non-interactive updates, such as those made by scheduled jobs. To exclude scheduled jobs, set glide.hub.process.sync.capture.non_interactive.changes to false.
A process event names the part of the process that begins locally and ends remotely. The administrator of the other instance must create a process event with the same name. That shared name is the logical link between the instances.
Remote systems and the connection
A remote system record holds the settings for one partner instance. Its External ID takes the sys_id of the matching Remote System record on the other side, so each instance knows whom to contact. Connection Alias points to a Connection & Credential alias. Outbound State and Inbound State both start as Disabled. After saving, select Validate and Activate Remote System; that step tests the connection and enables both directions.
The Inbound API User is the local account that the partner instance uses to send records to this instance. The partner’s connection credentials must match that user’s credentials. Run Inbound Flows as can be the system user or the user who initiated the session. The session option suits cases such as incident comments that should show the person who triggered the flow. The run-as setting does not extend to child subflows.
An Error Subflow runs when the connection fails after a trigger. It must be active and published, and it needs an input that references the Process Sync Remote Systems table. The RPS Error Subflow Template in Workflow Studio can be copied to notify through chosen channels when a state reaches Error. Unreachable systems appear under Remote Systems – With Errors.
Roles the integration depends on
| Role | What it allows |
|---|---|
| ih_process_sync | Create, update or delete process sync definitions and related records |
| ih_process_sync_api | Access the Remote Process Sync APIs |
| ih_process_sync_run_as | Run the outbound and inbound flows tied to a definition |
The run-as user also needs access to any table where a flow creates or updates records. The build guidance assigns ih_process_sync_api and snc_external to the Inbound API user. The snc_external role restricts external users to the resources explicitly granted to them. The run-as user receives ih_process_sync_run_as, and the worked example also adds incident_manager. Activate the explicit roles security feature on each instance first.
Working across domain-separated instances
Configuration tables carry a sys_domain and should sit in the same domain as their parent configuration record. Subflows can come from the current domain or any parent domain. No tables carry sys_overrides, so a child domain cannot override business rules or UI actions from a parent domain.
Outbound records are stored in the domain of the captured source record. Inbound records are stored in the domain of the Inbound API user. The outbound subflow runs in the queued record’s domain, and the inbound subflow runs in the domain of the Run Inbound Flows as user. At runtime, only records in the configuration domain and its child domains are captured, so records from unrelated domains do not trigger the process.
Flows, templates and actions
An outbound flow links one process event, one outbound subflow and the remote system that handles the inbound side. An inbound flow links one process event, one inbound subflow and the remote system that handles the outbound side. Each flow is tied to one process event and one remote system.
The Outbound Flow Template – Basic and Inbound Flow Template – Basic are global subflows you can copy. The outbound template creates a correlation between a remote record and a local incident. You point its local record input at the table you need. The inbound template’s actions refer to the Incident table, so those are the actions to edit.
When a correlation is needed, Look Up Correlation By Local Correlation ID runs first. Its Correlation Detail output feeds Send Captured Payload to Remote System. That action takes a Remote System, a CRUD Operation, a Process Event name, a Payload and the Correlation Detail, and returns Status, Error Message, Local Correlation ID and Remote Correlation ID. For attachments, Identify New Attachments finds files that exist remotely but not locally, and Request Attachments from Remote System asks for their transfer.
Attachments, comments and work notes
The first sync of a record sends all of its attachments. Later syncs can send changes or the full set. Each outbound payload carries attachment metadata: an encrypted synthetic key, a hash, the file name, the content type and the size. The receiving instance compares hashes and file names to decide what to take, then moves the attachments from the correlation record to the target record. Comments and work notes sync only when a journal field changes, with metadata that identifies the author and the creation time.
Queues and retries
The outbound queue, viewed at IntegrationHub > Remote Process Sync > Outbound Queue State, records status, error details, retry metadata and flow context. The inbound queue, at IntegrationHub > Remote Process Sync > Inbound Queue, records the operation, the JSON payload, correlation IDs, sequence and status. Both use Ready, Processed, Error and Skipped. Records in Error have not been processed. To retry an inbound record, change it to Ready. Table cleaners purge expired records from both queues once a day, using the retention periods described below.
Start troubleshooting by identifying the error type. Connection errors retry several times, then set the Remote System outbound state to Error. Confirm the Inbound API User’s credentials have not changed, then validate and activate the record again. Data processing errors come from a flow. Add a Log or Send Email action that runs when the flow state changes to Error. Turning on the debug property writes Remote Process Sync entries to the system log; search for messages starting with OutboundQueueDao or InboundQueueDao.
System properties and the dashboard
Properties live at IntegrationHub > Remote Process Sync > Properties. These are the Brazil defaults for the most common settings.
| Property | Default | Range |
|---|---|---|
| glide.hub.process.sync.retry.times | 3 | 0 to 10 |
| glide.hub.process.sync.retry.interval.seconds | 60 | 0 to 300 |
| glide.hub.process.sync.jobs.outbound.process_maxtime | 300 seconds | 60 to 1800 |
| glide.hub.process.sync.jobs.outbound.subflow.execution_timeout | 30000 milliseconds | not listed |
Error and Ready queue records are kept for 30 days by default, and Processed and Skipped records for 7 days. Each retention setting can reach 60 days. The dashboard needs the com.glide.hub.process.sync.dashboard plugin and the record successful status property set to true. Its Overview tab counts remote systems and queue records in error, and its Inbound Queue and Outbound Queue tabs show processing volume and times, filterable by process event. Users need the integration_admin or admin role.
Frequently asked questions
When should a team choose Remote Process Sync?
Choose it when an integration follows a business process across instances and needs record correlation, queued delivery, attachment handling and flow-level error handling. Simple copying across instances is better served by Instance Data Replication or the Remote Instance spoke.
What must be ready before a remote system activates?
The External ID must hold the sys_id of the matching record on the other side, the partner’s connection credentials must match the Inbound API User’s credentials on this instance, that local user needs ih_process_sync_api, and a Connection Alias should be selected. Then run Validate and Activate Remote System.
Why does an inbound record show Error?
Records in Error have not been processed. Fix the flow or definition, then set the record to Ready to retry it, or to Skipped to ignore it. Errored records expire after 30 days by default.
Do scheduled-job changes sync?
Yes, by default. Setting glide.hub.process.sync.capture.non_interactive.changes to false stops changes made by scheduled jobs from triggering the process.