Script actions are server-side scripts triggered by events that can modify configuration items in your ServiceNow instance. The script action that you will need to edit in this step will create an outbound message for any incident records that have attachment or comment (work notes) data included, thus ensuring that any attachments and comments you have created in ServiceNow are successfully shared out to your Salesforce org.
Procedure
To edit the Salesforce Share Comment and Salesforce Share Attachment script actions in ServiceNow for a multi-app ServiceBond integration, follow these steps:
Navigate to Script Actions
Log into your ServiceNow instance and navigate to System Policy > Events > Script Actions.
Update the Salesforce Share Comment script action
Click into the Salesforce Share Comment script action with an event name of incident.commented. Then, update the script as follows:
pspShareUploaded(); |
Then, click Update in the bottom left-hand corner of the form to save the changes to this script action.
NOTE: The Salesforce Share Comment script action should have been initially set up when enabling the sharing of attachments and comments from ServiceNow to Salesforce.
Update the Salesforce Share Attachment script action
Click into the Salesforce Share Attachment script action with an event name of attachment.uploaded. Then, update the script as follows:
pspShareUploaded(); var op = "attachment"; |
Then, click Update in the bottom left-hand corner of the form to save the changes to this script action.
NOTE: The Salesforce Share Attachment script action should have been initially set up when enabling the sharing of attachments and comments from ServiceNow to Salesforce.
Next steps
Edit the Perspectium synchronize Jira attachment script action in ServiceNow
Similar topics
There is no content with the specified labels