Creating a custom case field will allow for the storing of ServiceNow incident numbers when messages are sent over to ServiceNow.
Prerequisites
Install the Perspectium Package for Salesforce
Configure your Salesforce remote site settings
Configure Perspectium Replicator as a Salesforce connected app
Configure Perspectium properties for Salesforce
Procedure
To create a custom case field in Salesforce, follow these steps:
Log into your Salesforce organization and click theicon in the top right-hand corner of the screen. Then, click Setup.
In the Quick Find window on the left side of the screen, type and then click Object Manager (under Objects and Fields).
From the Object Manager list, click Case. Then, click Fields and Relationships on the left side of the screen. Finally, in the upper right-hand corner of the Fields & Relationships form, click New.
Under Choose a field type, choose Text. Then, at the bottom right-hand corner of the form, click Next.
Type Correlation Id as the field label, 255 for the Length, and correlation_id as the Field Name. Then, click Next.
Check the box next to Visible to grant view permission to all users. Then, click Next.
On the resulting form, ensure that the boxes are checked for all fields. Then, click Save to finish creating your custom Salesforce case field.