# SynchronizationReactionsType (Complex Type)

### Namespace: http://midpoint.evolveum.com/xml/ns/public/common/common-3

Defines reaction(s) to synchronization situations, plus other synchronization settings. TODO better name, better structure?

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
opportunistic | property boolean | [0,1] | If set to true midPoint will try to link and synchronize objects whenever possible.
defaultSettings | container SynchronizationReactionsDefaultSettingsType | [0,1] | Settings that are applied to all clockwork-based actions defined here.
reaction | container SynchronizationReactionNewType | [0,-1] | Reaction to a synchronization situation(s).

- ### Items

  - #### opportunistic

    Flags: RAM,runtime

    Multiplicity: [0,1]

    If set to true midPoint will try to link and synchronize objects whenever possible. E.g. it will link accounts in a case if an account with a conflicting account is found and correlation expression matches. MidPoint can be quite aggressive in this mode therefore this switch is used to turn it off. It is on by default.

  - #### defaultSettings

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Settings that are applied to all clockwork-based actions defined here.

  - #### reaction

    Flags: RAM,runtime

    Multiplicity: [0,-1]

    Reaction to a synchronization situation(s). There is a list of situations to which this entry pertains. The list is further optionally qualified by channel(s) and a condition. Only if a situation (any of), a channel (any of), and the condition all match, then the action(s) are applied. The list of reactions is evaluated in the (optional) order given. Entries without explicit order are evaluated last.