The Perspectium Replicator Subscriber job in ServiceNow pulls and processes the messages from your Mesh server’s inbound queues. However, you can also choose to prioritize the processing of your inbound messages by configuring the Perspectium Replicator InboundProcessor job to apply various filters.

This is an advanced capability for Replicator for ServiceNow, so it is recommended to enable this functionality in your test environment(s) first. Note that enabling multiple subscriber jobs allows you to have greater control over how and when you are subscribing to data that is being shared out by other data sources/applications.


Prerequisites


(warning) First, you will need to install Replicator for ServiceNow and run the Perspectium Finish Install scripts.

Procedure

To enable multiple subscriber jobs in your ServiceNow instance, follow these steps:


Access Replicator Properties

Log into your subscribing ServiceNow instance and navigate to Perspectium > Replicator > Properties.

Allow inbound messages to have a Ready state instead of being consumed immediately

Check the box labeled Allow Replicator inbound messages to go to a state of ready instead of being consumed immediately... Then, scroll down to the bottom of the page and click Save to save your changes.

Access the Perspectium Replicator Inbound Processor job

Navigate to Perspectium > Control and Configuration > All Scheduled Jobs. Then, in this table, search for and click to open the Perspectium Replicator Inbound Processor job.

Edit the script for the Perspectium Replicator Inbound Processor job

Within the script for this job, scroll to locate the addCustomQuery function on line 50. Then, modify the script by adding your customer queries. To do this, choose one of the following options:

  • Add customer queries by key:
function addCustomQuery(igr) {
    igr.addQuery("key", "=", "dev12345");
}
  • Add customer queries by name:
function addCustomQuery(igr) {
    igr.addQuery("name", "CONTAINS", "incident");
}

Finally, click Update in the upper right-hand corner of the form to save the changes you have made to the script for the Perspectium Replicator Inbound Processor job.