Getting started with Remote Process Sync

  • リリースバージョン: Australia
  • 更新日 2026年03月12日
  • 所要時間:41分
  • Learn the basics of setting up a Remote Process Sync integration in order to link the automated processes among two or more ServiceNow® instances together.

    注:
    Integration Hub Remote Process Sync requires a subscription to the Integration Hub Enterprise package. For more information, see Request Integration Hub.

    Before getting started with your Remote Process Sync integration

    Before deciding to move forward with Remote Process Sync as your integration framework, consider how this framework compares to other multi-instance ServiceNow AI Platform® integrations. While solutions such as Instance Data Replication and the Remote Instance spoke support simple multi-instance integrations, Remote Process Sync supports more complex multi-instance integration use cases, focusing on integrating instances by high-level business processes.
    注:
    Remote Process Sync replaces the eBonding spoke for integrating instances.
    図 : 1. Comparison of Instance Data Replication, Remote Instance spoke, and Remote Process Sync
    Instance Data Replication and the Remote Instance spoke support simple integrations for an entire table or using ServiceNow AI Platform APIs. Remote Process Sync supports more complex multi-instance integrations.
    If you choose to use Remote Process Sync as your multi-instance integration framework, the next step is to learn about the difference between:
    1. Building your integration, and
    2. Managing your integration

    Building your integration involves creating and configuring a process sync definition and its related records. For more information on how to get started with building your Remote Process Sync integration, either step through an example of how to Build your first Remote Process Sync integration, or learn about Process sync definitions.

    図 : 2. Building your Remote Process Sync integration
    Building your Remote Process Sync integration.

    Managing your integration involves monitoring the outbound and inbound queues and checking for errors related to any triggered process sync definitions. For more information on how to monitor and check for errors with your Remote Process Sync integration, see Outbound queues and inbound queues and Monitoring and troubleshooting your integration. You may also want to periodically evaluate the outbound and inbound flows that run automatically for your integration and determine whether to make any changes to these flows in Workflow Studio.

    注:
    Both building and managing a Remote Process Sync integration on your instance also requires that you collaborate effectively with users of the remote instance, or remote instances. Be sure to meet with the stakeholders involved in your integration regularly to plan, manage, and continually improve the automated business processes that your multi-instance integration handles.
    図 : 3. Managing your Remote Process Sync integration
    Managing your Remote Process Sync integration.

    Process sync definitions

    A process sync definition contains all of the configurations for your Remote Process Sync integration. Start by creating a new Process Sync Definition record for your integration. Navigate to IntegrationHub > Remote Process Sync > Process Sync Definitions, and then click New. In the Process Sync Definition form, fill in the following fields:
    Field Description
    Name Enter a name that accurately describes which part of your business process your instance handles. For example, if users on your instance work to fulfill Service Catalog requests for your customers, enter a name such as Service Catalog Request Fulfillment.
    Description Optionally, describe which part of your business process that this process sync definition handles.
    Application Automatically set to your current application scope.
    Domain If your process relates to a specific domain, choose a domain other than global. For more information, see Domain separation for service providers.
    Click Submit, and then you can see your newly created Process Sync Definition record in the list. Next, select the Process Sync Definition record that you just created. You can see that your Process Sync Definition record has the following related lists:
    • Capture Definitions
    • Process Events
    • Remote Systems
    • Outbound Flows
    • Inbound Flows
    Refer to the following sections to learn how to set the configurations for each of these related items.

    Capture definitions

    A capture definition specifies when your instance should send data to a remote instance and what data your instance should send. A capture definition contains the configurations for your process sync definition's trigger and captured fields. The trigger specifies what record operation, such as creating, updating, or deleting a record, causes your instance to send data to a remote instance. When a Capture Definition is triggered, it creates an object from a source record, which contains captured fields. Then, the outbound flow starts running and correlates the captured fields from the source record to fields in a related record on the remote system.

    A Capture Definition record has the following fields:

    Field Description
    Process Event In the Capture Definition form, use the lookup using list icon (Lookup using list icon) to choose the Process Event record that you want to associate with this capture definition. If no process event exists yet, enter a name for your process event, and the system automatically creates a Process Event record and associates the record with your capture definition. For more information, see Process Events.
    State Choose Active to activate this capture definition so that the parent process sync definition triggers when the conditions you set in this form's Trigger section are met.
    Order Enter a value for the order in which you want your capture definition to trigger relative to other capture definitions. Lower order values are honored before higher order values.
    Application Automatically set to your current application scope.
    Domain If your process relates to a specific domain, choose a domain other than global. For more information, see Domain separation for service providers.

    In the Trigger section, choose an authorized source table whose records you want to trigger your process sync definition. You can also add field conditions that, when met, cause your process sync definition to trigger. When the conditions are met for the trigger specified in your capture definition, any outbound flows associated with your process sync definition start running. For more information, see Outbound flows and inbound flows.

    Field Description
    Source Table Name Choose an authorized table whose records will trigger your process sync definition every time the records are created, updated, and deleted.
    Filter Use the condition builder to add conditions that, when met, will trigger your process sync definition. For example, selecting [State] > [is] > [Work In Progress] causes your process sync definition to trigger every time a record in your selected table's State is updated to Work In Progress.

    Lastly, in the Capture section, add fields to the Selected list that you want to include in the payload for your outbound flow.

    Field Description
    Include fields Add fields to the Selected list which you want to sync with fields in the remote instance every time your process sync definition triggers. Use the add item icon (Add item icon) to add fields from the Available list to the Selected list.
    注:
    • When your integration runs, the outbound payload that is sent to remote instances always contains these captured fields, regardless of whether they were updated or not.
    • You can map these captured fields to fields in the remote instance by configuring mappings in the remote instance's inbound flow that is associated with the same process event. For more information, see Outbound flows and inbound flows.
    Include Attachments If selected, any attachments that are associated with triggering records on your local instance will sync with attachments in correlated records on the remote instance. For more information, see
    注:
    RPS captures both interactive and non-interactive changes. You can configure RPS to ignore non-interactive changes, such as changes made via a scheduled job, by setting the glide.hub.process.sync.capture.non_interactive.changes property to false. For more information, see the How to configure Remote Process Synchronization (RPS) framework to ignore non-interactive changes to records [KB1565025] article in the Now Support Knowledge Base.

    Process events

    A process event specifies which part of your business process begins in your local instance and ends in the remote instance. The Process Event record in your local instance and in the remote instance should have the same name because the process event signifies the link between these instances that allows them to share parts of the same business process. A Process Event record has the following fields:

    Field Description
    Name Enter a name that describes the part of your business process that begins in your local instance and ends in the remote instance. For example, if users in your instance request software that will be provisioned in the remote instance, you can name the process event User requests software.
    注:
    An administrator for the remote instance, or remote instances, must also create a process event with the same name that you use here. Creating these process events in separate instances creates the logical link that allows you to integrate data among multiple instances.
    Application Automatically set to your current application scope.
    Domain If your process relates to a specific domain, choose a domain other than global. For more information, see Domain separation for service providers.

    Remote systems

    A remote system contains the configurations for the outbound and inbound connections related to another ServiceNow instance. A Remote System record has the following fields:

    Field Description
    Name Enter a name that describes the remote instance. For example, if the instance is managed by one of your customers, Customer A, enter Customer A's Instance in the name field.
    Description Optionally, enter more details that describe the remote instance's general purpose in your business process.
    External ID Enter the Sys ID for the Remote System record that shares the same process event with your instance. To get a record's Sys ID, select Copy sys_id from the context menu (Context menu icon) in the record's form view. For example, if your Remote Process Sync integration spans two instances, Instance A and Instance B, use the Sys ID from Instance A's Remote System record as the External ID in Instance B and vice-versa. Connecting the Sys IDs and External IDs in this way helps multiple instances know which instance to connect to when the automated outbound and inbound flows run.
    Application Automatically set to your current application scope.
    Domain If your process relates to a specific domain, choose a domain other than global. For more information, see Domain separation for service providers.
    Error Subflow

    The subflow to run if the Inbound or Outbound State becomes errored.

    Use the lookup using list icon (Lookup using list icon) to select a subflow. A subflow appears on this list if:
    1. It is an active, published subflow, and
    2. An input to the subflow is of type Reference to the Process Sync Remote Systems [ih_sync_remote_system] table.

    Choose the subflow you want to run when the connection to the remote instance fails. The subflow you select runs whenever your local instance can't connect to the remote instance after your process sync definition triggers.

    There is an error subflow template you can copy and use to make your own Error Subflows. The RPS Error Subflow Template enables you to select notification methods for when the Inbound and Outbound States are errored. You can view the template by navigating to Workflow Studio and searching for it in the Subflows tab.

    You can view remote systems that your instance fails to connect to by navigating to All > IntegrationHub > Remote Process Sync > Remote Systems - With Errors.

    Connection Alias Select the lookup using list icon (Lookup using list icon) to find and choose a Connection & Credential Alias record that you want to use to authenticate with the remote instance. If you haven't set up a Connection & Credential Alias record for this purpose yet, create a new record with Connection and Credential in the Type field. For more information, see Create a Connection and Credential alias.
    Outbound State Set to Disabled by default. You can change this field's value to Active by selecting the Validate and Activate Remote System related link in this Remote System record's form view after you finish creating the record.
    Inbound API User User who can connect to the remote instance. This user must have credentials that match those of the user with the ih_process_sync_api role in the remote instance.
    Run Inbound Flows as Select the lookup using list icon (Lookup using list icon) to find and choose a user that you want to run the inbound flow for the associated process event. Option to specify the user that runs the flow. You can select the system user or the user who initiates the session. Select the user who initiates the session option when updates should come from the user who triggered the flow. For example, use this option when you want the incident record comments to come from the user who started the flow. Settings for the Run as option in a flow don't apply to child subflows.
    Inbound State Set to Disabled by default. You can change this field's value to Active by selecting the Validate and Activate Remote System related link in this Remote System record's form view after you finish creating the record.
    注:
    After creating a Remote System record with the appropriate fields filled in, you must then click the Validate and Activate Remote System related link. Clicking this link checks that you can successfully connect to the remote instance and then activates the outbound and inbound connections.

    After creating a Process Event record and a Remote System record, you can then associate Workflow Studio subflows with these records so that automated actions run whenever your process sync definition triggers.

    Outbound flows and inbound flows

    An outbound flow specifies which Workflow Studio subflow your instance uses to:
    1. Process local data, as fields captured in the capture definition, that will be sent to the remote instance
    2. Correlate this data with data on the remote instance
    3. Send this data to the remote instance

    An Outbound Flow record has the following fields:

    Field Description
    Process Event Select the lookup using list icon (Lookup using list icon) to find and choose the Process Event record that you want to associate with this outbound flow. The process event that you select should logically relate to the automated actions that the outbound flow will run when your process sync definition triggers. For example, if your outbound flow maps fields from a Service Catalog Item Request record submitted by users in your local instance to related fields in the remote instance, then choose a process event related to users making Service Catalog item requests.
    Outbound Subflow Select the lookup using list icon (Lookup using list icon) to find and choose the Workflow Studio subflow that you want to run whenever your process sync definition triggers. Your instance provides you with a Remote Process Sync Outbound Flow Template - Basic subflow that you can use as a template in any Outbound Flow record. However, you can customize the Remote Process Sync Outbound Flow Template - Basic subflow so that it meets the needs of your business process. You can customize this subflow using the Remote Process Sync outbound actions. For more information, see Build your first Remote Process Sync integration.
    Remote System Select the lookup using list icon (Lookup using list icon) to find and choose the Remote System record that you want to connect to when your outbound flow runs automated actions that require authenticating with the remote instance. The Remote System record you choose should be the remote instance that handles the inbound part of your Remote Process Sync integration.
    Application Automatically set to your current application scope.
    Domain If your process relates to a specific domain, choose a domain other than global. For more information, see Domain separation for service providers.
    An inbound flow specifies which Workflow Studio subflow your instance uses to:
    1. Correlate data on the local instance with the data sent from the remote instance
    2. Map fields sent from the remote instance to fields on the local instance
    3. Process data sent from the remote instance to the local instance

    An Inbound Flow record has the following fields:

    Field Description
    Process Event Select the lookup using list icon (Lookup using list icon) to find and choose the Process Event record that you want to associate with this inbound flow. The process event that you select should logically relate to the automated actions that the inbound flow will run when your local instance is ready to handle the payload sent by the remote instance. For example, if your inbound flow maps fields from a Service Catalog Item Request record that users in the remote instance submitted to related fields in your local instance, then choose a process event related to users making Service Catalog item requests.
    Inbound Subflow Select the lookup using list icon (Lookup using list icon) to find and choose the Workflow Studio subflow that you want to run whenever your instance handles data sent by a remote instance. Your instance provides you with a Remote Process Sync Inbound Flow Template - Basic subflow that you can use as a template in any Inbound Flow record. However, you can customize the Remote Process Sync Inbound Flow Template - Basic subflow so that it meets the needs of your business process. You can customize this subflow using the Remote Process Sync inbound actions. For more information, see Build your first Remote Process Sync integration.
    Remote System Select the lookup using list icon (Lookup using list icon) to find and choose the Remote System record that you want to connect to when your inbound flow runs automated actions that require authenticating with the remote instance. The Remote System record you choose should be the remote instance that handles the outbound part of your Remote Process Sync integration.
    Application Automatically set to your current application scope.
    Domain If your process relates to a specific domain, choose a domain other than global. For more information, see Domain separation for service providers.
    注:
    Each outbound flow and inbound flow must always be associated with one process event and one remote system only.

    Before simply choosing the system-provided Remote Process Sync Outbound Flow Template - Basic or Remote Process Sync Inbound Flow Template - Basic subflows for your process sync definition, you may want to customize these subflows in Workflow Studio.

    Syncing attachments

    you can choose to send attachments associated with your local record by using the Include Attachments option in your capture definition. However, Remote Process Sync handles attachments differently from other data in your integration due to security and attachment file size issues:
    • The first time that a record in your integration syncs, all attachments are sent in the outbound payload. Subsequent syncs can send either changes to attachments or all attachments.
    • Attachment metadata is always sent with the outbound payload. This metadata includes an encrypted synthetic key, hash, file name, content type, and size.
    • The remote instance decides which attachments to receive by comparing each hash and file name from the inbound payload to those on the instance. Then, the following process occurs:
      1. The originating system validates the key and pushes attachments to the correlation record.
      2. The originating system notifies the remote system that the attachments are complete.
      3. The remote system moves the attachments from the correlation record to the target record.

    Syncing comments and work notes

    In your integration, comments and work notes are synced among instances only when changes occur to those journal fields. Change metadata is included in payloads so that remote systems can identify which user created the comment or work note and when it was created.

    Outbound queues and inbound queues

    After building your Remote Process Sync integration by creating and configuring the records mentioned in the previous sections, you can then manage your integration by monitoring the outbound queue and inbound queue in your instance.

    An outbound queue contains the status, error information, retry data, and flow context information for outbound subflows that ran for data that was sent out of your instance. To view the records in your outbound queue, navigate to IntegrationHub > Remote Process Sync > Outbound Queue State.

    An Outbound Queue State record has the following fields:

    Field Description
    Created Date that the automated action in your integration occurred
    Error info Status message for the outbound payload
    Process Event Process event
    Remote System Remote System
    Retry metadata Metadata for any retry policies configured for your outbound payload
    Status Processing status of the payload in the outbound queue. Options include:
    • Ready
    • Processed
    • Error
    • Skipped
    Domain Domain in which the automated action for your integration ran
    Time In Queue Time spent waiting for the processing of the record.
    Processing Time Time spent processing the record, in milliseconds.
    Outbound Subflow Context Sys ID of the execution record for the outbound flow that processed the payload
    注:
    You can get more detailed troubleshooting information for outbound payloads in associated Outbound Queue records. To access these records, navigate to IntegrationHub > Remote Process Sync > Outbound Queue.

    An inbound queue contains the status, processing sequence, and correlation information for inbound subflows that ran for data that was sent from a remote instance to your local instance. To view the records in your inbound queue, navigate to IntegrationHub > Remote Process Sync > Inbound Queue.

    An Inbound Queue record has the following fields:

    Field Description
    Transform Context Sys ID of the execution record for the inbound flow that processed the payload
    Domain Domain in which the automated action for your integration ran
    Local Correlation ID Correlation ID on the local instance
    Operation Type of record operation that the remote instance performed, which caused the remote instance to trigger and send data. Options include:
    • Create
    • Update
    • Delete
    Payload String as JSON payload for inbound data
    Process Event Process event associated with the integration action
    Remote Correlation ID Correlation ID on the remote instance
    Remote System Remote System record associated with the instance that sent the data
    Sequence Order in the queue. A lower number is processed before a higher number.
    Time In Queue Time spent waiting for the processing of the record.
    Processing Time Time spent processing the record, in milliseconds.
    Status Processing status of the payload in the inbound queue. Options include:
    • Ready
    • Processed
    • Error
    • Skipped
    注:
    If an Inbound Queue record has an Error status, change the status to Ready to retry processing the inbound payload.
    注:
    Both the Outbound Queue and Inbound Queue tables are maintained by table cleaners that remove records from these tables every 30 days.

    Monitoring and troubleshooting your integration

    You can use the following tables to monitor your Remote Process Sync integration, once it is built and running:
    Table Description
    XML Stats View the process_sync_queue section for information about the outbound and inbound queues for your integration, including the size of the queue as well as error and processing rates.
    Outbound Queue View the capture data for records that are staged to be sent out of your instance.
    Outbound Queue State View the state of records in the Outbound Queue table.
    Inbound Queue View the combined inbound queue and record table.
    Logs Start by turning on debugging by setting the glide.ih.process.sync.debug system property to true. Then, scan the Logs for error messages beginning with OutboundQueueDao and InboundQueueDao to find log messages with more information about potential issues with your integration.
    If an error occurs with your Remote Process Sync integration, begin by confirming whether the error is a connection error or a data processing error:
    Connection errors
    Outbound connection errors automatically retry several times before setting the Remote System record's Outbound State to Error. If errors keep occurring for an outbound connection, confirm that nothing has changed with the Remote System's Inbound API User, such as a change in the user's credentials. Then, validate and activate the Remote System record again.
    Data processing errors
    Data processing errors typically occur as a result of errors in an outbound flow or inbound flow. To troubleshoot these errors, you can add error handling actions to your flow, such as a Log action or Send Email action, when the flow's State changes to Error. You can also add actions that reprocess or skip processing of records in the Outbound Queue or Inbound Queue tables if an error with the flow occurs.