User Tools

Site Tools


common_incident_to_salesforce

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
common_incident_to_salesforce [2018/09/10 11:15]
timothy.pike [Transform Map]
common_incident_to_salesforce [2018/09/10 11:19] (current)
timothy.pike [Transform Map]
Line 75: Line 75:
 After creating and defining the field values, we need to add a few transform scripts so that ServiceNow will know how to handle, update, and direct the values & attachments from received messages in the inbound table. ​ After creating and defining the field values, we need to add a few transform scripts so that ServiceNow will know how to handle, update, and direct the values & attachments from received messages in the inbound table. ​
  
-Below is the onAfter transform script that will update deferred messages to have the correct correlation id and vtoken. It will also set the state to "​Ready"​ so that the message can be sent out +Below is the onAfter transform script that will update deferred messages to have the correct correlation id and vtoken. It will also set the state to "​Ready"​ so that the message can be sent out. 
-{{:​sfdc_transform_map_3.png|}} +
-{{:​sfdc_transform_map_4.png|}} +
-Script for deferred messages and updating correlation id:+
 <​code>​ <​code>​
 (function runTransformScript(source,​ map, log, target ) { (function runTransformScript(source,​ map, log, target ) {
Line 104: Line 102:
 </​code>​ </​code>​
  
-Below is the onAfter script that will share out updated tickets after being received +Below is the onAfter script that will share out updated tickets after being received.
-{{:​sfdc_transform_map_3.png|}} +
-{{:​sfdc_transform_map_5.png|}}+
  
-Script to share out updated tickets after being received: 
 <​code>​ <​code>​
 (function runTransformScript(source,​ map, log, target /*undefined onStart*/ ) { (function runTransformScript(source,​ map, log, target /*undefined onStart*/ ) {
common_incident_to_salesforce.txt · Last modified: 2018/09/10 11:19 by timothy.pike