Subscribe allows you to read in data into your DataSync Express instance, notably to synchronize your instance with another instance that is sharing data as well as receiving information back from your DataSync Agent when it runs into issues.

To use subscribe, you must first specify a subscribed queue.




Cross-Scope Access Policies Restrictions

Because of scope app limits, subscribing to table records into ServiceNow (i.e. subscribing to records shared from another instance) is limited due to cross-scope access policies. See https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0782299 for more details as subscribe will not be able to update certain fields such as sys_mod_count or number i.e. if subscribing to incidents from another instance, it will not have the same number on this instance as on the sharing instance.

Instead, subscribe will get errors like the following:

Access to api 'setValue(number)' from scope 'x_perr2_datasync' has been refused due to the api's cross-scope access policy.

Access to api 'setValue(sys_mod_count)' from scope 'x_perr2_datasync' has been refused due to the api's cross-scope access policy.

All other fields will update properly.

To update these fields restricted by ServiceNow's cross-scope access policies, we have a PerspectiumGlobal script include you can import into the Global application scope to be able to update these restricted fields. This script include is provided outside the Perspectium DataSync Express scoped application and is added to your instance using Import XML. 

To install this script include:

  1. Contact Perspectium Support for the PerspectiumGlobal script include.
  2. Change your Application scope to Global if not already in the Global application scope.
  3. Go to System Definition > Script Includes in your ServiceNow instance.
  4. Right-click on a column header (such as Name) and choose Import XML.
  5. Verify the PerspectiumGlobalb  script include is in your instance by searching it by name in the list view of Script Includes.

Once installed, your subscribe will be able to update these restricted fields. No configuration changes are needed in the DataSync Express app.