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 synced. 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, click Developer Tools () > 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 sync 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 click Development Actions () > Synchronize.
Was this helpful?