Unify and manage your data

Autosubscribe action

Learn about the Autosubscribe action in the Synchronization configuration.

The AUTOSUBSCRIBE action in the synchronizationConfig defines the rules to copy a record in the DT to the CT when there is a match between the DT and CT records.

This section has a number of properties:
  • matchRules - This section defines the match rules that must be used to copy a record in the DT to the CT when there's a match.
  • connections - This section defines how relations should be handled. This section has a number of its own properties:
    1. types - This defines a list of relation types, which should be copied from the DT to the CT.
    2. onCreateOnly -This copies the records from DT to CT based on the entity created event. If the onCreateOnly property is set to true, only when an entity is created in the DT, relations will only be copied to the DT. Relations will not be copied otherwise.
    3. strategy - This determines which relations to copy from the DT to the CT. There are a number of different options:
      • ALL - This imports all instances of the relations in the DT when the start and end objects in the CT exist and are subscribed. If the start or end objects do not exist in the CT, they will be imported and subscribed and the relation from the DT will be created.
      • IMPORT_IF_ENTITIES_SUBSCRIBED - This imports all instances of the relations in the DT where the start and end objects in the CT exist and are subscribed.
      • IMPORT_IF_START_ENTITY_SUBSCRIBED - This imports the relations if the CT start object entity is subscribed to the DT start object. If the end object entity does not exist in the CT, it will be imported and subscribed.
      • IMPORT_IF_END_ENTITY_SUBSCRIBED - This imports the relations if the CT end object is subscribed to the DT end object. If the start object entity does not exist in the CT, it will be imported and subscribed.