Configuring Real-Time Sync for Only Modified Job Fields
Currently, when real-time sync from Service Board to Salesforce is triggered by updates to Service Board records, only the modified fields are synchronized. You can configure real-time sync to always sync specific Service Board field values to Salesforce, whether the values are modified or unchanged. This field-level synchronization is supported by the _fixed_modified_fields field mapping in the Job to WorkOrder Update Template transform template.
To configure real-time sync only for modified Job fields:
1. In Max Designer, on the Developer Tools () launchpad menu, click Transform Templates, and then in the list view, click Job to WorkOrder Update Template.
2. On the.Overview tab, in the Custom Field Mappings field, add JSON mapping code for _fixed_modified_fields. For example, to always synchronize the Owner field:
{
"payload": {
"fields": {
"SVMXC__Preferred_Business_Hours__c": "payload.fields.svmx_preferred_business_hours",
"SVMXC__SM_Lock_Appointment_Schedule__c": "payload.fields.svmx_lock_appointment_schedule"
}
},
"_fixed_modified_fields": ["OwnerId"]
}
* 
In mapping code, be sure to specify the Salesforce API names for the fields to be synchronized.
3. In the top left corner, click Save and Close (), and then on the Development Actions () launchpad menu, click Synchronize.
For more information:
Was this helpful?