This dynamic share option shares out only the fields of a record that have been changed, instead of re-sending the entire record when there is an update.
The “Share only updated fields” option will be hidden if the "Share only selected fields" option is selected on the dynamic share configuration and vice-versa.
1) To activate this option, checkmark the “Share only updated fields” option.
2) When this box is checked, two additional options are shown on screen:
After configuring this feature and saving the dynamic share, records will then be shared out with only the fields modified. For example if the short_description, active, state, and number fields are updated on an existing record in the ticket table, the XML sent out for a record would be as follows:
<?xml version="1.0" encoding="UTF-8"?> <ticket> <short_description>test</short_description> <active>1</active> <state>1</state> <number>TKT0010002</number> <sys_id>a05859f80f0d0600276f6d28b1050ea4</sys_id> </ticket>
If the “Select ID field” option was set to something other than sys_id (like correlation_id) in the above example, then sys_id would not be included in the message sent out and correlation_id would be included regardless of whether correlation_id was changed or not, like below:
<?xml version="1.0" encoding="UTF-8"?> <ticket> <short_description>test</short_description> <correlation_id>SW134513</correlation_id> <active>1</active> <state>1</state> <number>TKT0010002</number> </ticket>
Display values are supported and will still create <dv> fields in the XML with this option selected. For example:
<?xml version="1.0" encoding="UTF-8"?> <ticket> <state>1</state> <dv_state>Open</dv_state> <number>TKT0010001</number> <sys_id>a05859f80f0d0600276f6d28b1050ea4</sys_id> </ticket>