Configuring Real-Time Sync for the Dispatch Priority Field
After you configure initial sync support for the Dispatch Priority field, your next step is to configure real-time sync support.
|
To reduce Apex CPU consumption, ISCHANGED field-level filtering is no longer supported for the Salesforce Work Order object. Therefore, there is no need to configure real-time sync fltering for the Dispatch Priority field.
|
To configure real-time sync for the Dispatch Priority field:
1. In
Max Designer, on the
Developer Tools (
) launchpad menu, click
Transform Templates, and then in the list view, click
WorkOrder to Job Create Template.
2. On the
Overview tab, in the
Custom Field Mappings field, add the following custom field mapping code, and then in the top left corner, click
Save and Close (
).
"svmx_dispatch_priority" : "fields.SVMXC__Dispatch_Priority__c"
3. In the Transform Templates list view, click WorkOrder to Job Update Template, and then on the record page, on the Overview tab, in the Custom Field Mappings field, add the same custom field mapping code that you configured for the WorkOrder to Job Create Template and save and close the record.
For more information: