User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

salesforce_attachments_into_servicenow [2017/12/27 17:29] (current)
paul created
Line 1: Line 1:
 +====== Salesforce Attachments into ServiceNow ======
 +<wrap info>​[[salesforce_releases|v3.26.0]]</​wrap>​\\
 +To read Salesforce attachments into ServiceNow, the u_sfdc_attachment_import import set table is provided as part of the Perspectium Salesforce Update Set for ServiceNow.
 +The update set comes with a subscribe configuration for u_sfdc_attachment_import so records can be read into the import set table. ​ A script action will then run on records being inserted to properly add and delete attachments.
 +The Perspectium message that is shared out of Salesforce for an attachment will come with a "​ParentTable"​ field that has the name of the Salesforce table that you can then use to determine which table this should map to in ServiceNow.  ​
 +The **Set parent table to attach to** business rule on the u_sfdc_attachment_import table is provided so you can modify the corresponding field in the import set table (u_parenttable) to the appropriate ServiceNow table based on how you are subscribing Salesforce records into ServiceNow.
 +For example, if you are subscribing Salesforce Case records into ServiceNow Incident records, you can use the business rule to update the field as follows:
 +if (current.u_parenttable == '​Case'​)
 +    current.u_parenttable = '​Incident';​
salesforce_attachments_into_servicenow.txt ยท Last modified: 2017/12/27 17:29 by paul