Excluding contact fields from ClaimCenter contact synchronization

You can use the ContactMapper method withAffectsSync to configure fields to be excluded from the set of fields that ClaimCenter uses to determine if a contact is synchronized with ContactManager. By default, all fields that you add to ContactMapper are included in the fields that are checked for synchronization status.

If there is a field in ContactMapper that you want excluded from the synchronization check, use the withAffectsSync method and set its parameter to false. For example, the following code excludes the field CategoryScores:

arrayMapping(Contact#CategoryScores)
  .withMappingDirection(TO_BEAN)
  .withAffectsSync(false),
Note: You do not use ContactMapper for fields that determine contact relationships, such as contactBidiRelCode="employer". The inclusion or exclusion of contact relationship fields is defined in the RelationshipSyncConfig class.

See also