# ObjectSynchronizationSorterType (Complex Type)

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

Defines a synchronization properties (configuration) for a resource. This applies to all flavors of synchronization (live sync, reconciliation, import, ...)

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
expression | property ExpressionType | [0,1] | Expression used to divide resource objects to the appropriate kind/intent, objectClass.

- ### Items

  - #### expression

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Expression used to divide resource objects to the appropriate kind/intent, objectClass. Can contain also focus and synchronization situation. It should be used in the cases that the resource supports more intents for the same kind and there is a need to have a synchronization for each one. Instead of writing condition to each objectSynchronization part this can simplify configuration. Another usage is for re-classification, e.g. in the first reconciliation run, there were bad conditions for some kind/intents and as s result, the shadow was classified to bad kind/intent, but there is a need to repair it. The expected result is of type ObjectSynchronizationDiscriminatorType