Service Exchange Inbound/Outbound Connection Status for Remote Process Sync Is in an Error State (old name Service Bridge)Issue <!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } If you noticed updates stopped flowing in a specific direction for Service Exchange, one of the first stops for troubleshooting should be the Process Sync Remote System record(ih_sync_remote_system). Look to see if the inbound or outbound state is in an 'Error' state. Symptoms<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } If either direction is an error state, NO data will flow in that direction until it is corrected. This is because RPS(remote process sync) is designed to be fired in order so the queue will build up until this is corrected. You can see the queue for outbound(cdc_queue_ih) and inbound(ih_sync_inbound_queue) within their respective tables. When the state is in an error, you will need to correct the errored out record before you can re-validate the RPS connection from the ih_sync_remote_system record. Release<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } Service bridge 2.1.30 or lower(though likely will happen on all releases as this is general knowledge) Resolution<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } The 'error' from the RPS system is just a symptom of a problem. You can resolve the symptom for temporary relief, but ideally you will need to figure out what is actually causing this to error out. I.e. in the example from the image provided above if we look at the outbound queue state related list from the ih_sync_remote_system record and go to the 'outbound queue state' we can see we have a record in error. User is not authenticated would be an authentication related error due to the OAuth tokens expiring. Read this KB for more information: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1641197 First thing I would try is simply flipping the 'status' from Error to Ready. Then click 'Validate and Activate Remote System' from the above related links: If any inbound or outbound queues are in an error state, if you attempt to validate and activate the remote system, it will immediately error out again(the state of the connection). The queue MUST not have any errored records for the connection to be Active again.For inbound queue issues, it is almost always due to timeouts of the inbound RPS subflow that fires on each inbound queue record. For Service Exchange the OOB RPS subflows are: Service Exchange RPS Inbound Flow & Service Exchange RPS Outbound FlowEach name refers to the direction for the flow. The timeouts are almost always going to be on the inbound flow as this is where updates/inserts are handled on the corresponding parent task records for your Service Exchange connected records. What ends up happening is you have customized business rules that are firing during the inbound subflow execution which causes it to timeout. OOB the timeout is 30 seconds.Excerpt from https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1571549:If inbound transactions between instances take longer than 30 seconds (default property setting), the RPS connection used will enter the error state and stop working. To help prevent timeouts in the future, try making long-running custom BRs that are executed by the slow inbound transaction asynchronous. An alternative is to set the glide.hub.process.sync.jobs.inbound.subflow.execution_timeout system property to something larger than 30000 (30 seconds) while setting the glide.hub.process.sync.jobs.inbound.context_reporting property to true. These properties only affect RPS inbound transactions and increases inbound processing time out.Another thing to keep in mind here is that you will NOT see these subflow executions if glide.hub.process.sync.jobs.inbound.context_reporting and glide.hub.process.sync.jobs.outbound.context_reporting are disabled(system properties). We do not create context records for subflow executions if these are disabled. However, you can still see the flow timeout error from within the system logs right around when the time of the error happened. It will look something like this:If you have modified the default flow timeout within your instance or the timeout of the RPS flow in particular with the glide.hub.process.sync.jobs.inbound.subflow.execution_timeout property you will see a different timeout(i.e. 60000 milliseconds if its 60 seconds).Since these issues are usually intermittent, the best way to troubleshoot these is to go to the Process Sync Remote System(ih_sync_remote_system) record for the connection that is erroring out and look at the history of updates on this record. You can see where the system sets this from Active -> Error.Once you have the time stamp of when this errored out, you can go to the syslog table to look for RPS timeout errors right around the same time frame. This will immediately tell you that this is caused by a timeout of the RPS subflow if you see the timeout error from above. It could be other errors, but for this particular example I am focusing on the timeouts since it is the most common.Now to actually troubleshoot why it timed out is the permanent fix. The easiest way to do this is to trace the transaction and then look at the node logs for that transaction. If you go to the syslog record where you saw the timeout message and look at the full XML of the record, within the context_map field you will see a parameter for 'txid.' It will look something like this: a4fe1e1287a6. The system_id will also show the node that handled the transaction. Grab this and then use that to search within the corresponding node logs to trace the transaction. Generally you will see 'slow' business rule error messages that will indicate what actually happened. There could also be long running SQL queries(anything over 100ms will be logged in the node logs for that transaction without glide.db.trace enabled).You might see something similar to this:7/7/257:48:14.432 AM2025-07-07 07:48:14 (432) worker.1 worker.1 txid=a4fe1e1287a6 SS_ee9542bb5390311051b9ddeeff7b1267 Slow business rule 'Custom BR Here' on sn_customerservice_case:<span class = "session-log-bold-text"> CS01234567</span>, time was: 0:00:27.434Keep in mind you will also see the OOB BR rules also taking a large amount of time(transport queue inbound monitor), but that is because they are being held up by the custom business rules. Effectively the business rules are nested. Transport queue inbound monitor will fire due to the nature of the RPS inbound flow, but then your custom business rules will fire after during the actual task record update/insert which will hold up the completion of the OOB BR until your custom BR finishes.