# ObjectSetType (Complex Type)

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

Supertype: BasicObjectSetType
Specifies a set of repository objects to be processed.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
type | property QName | [0,1] | Type of objects to be processed.
archetypeRef | reference ObjectReferenceType | [0,1] | Archetype of objects to be processed.
query | property QueryType | [0,1] | Query specifying objects to be processed.
objectRef | reference ObjectReferenceType | [0,-1] | Explicit enumeration of objects belonging to this object set.
searchOptions | container SelectorQualifiedGetOptionsType | [0,1] | Options to be used when searching for objects.
useRepositoryDirectly | property boolean | [0,1] | Whether to use repository directly when searching for objects.
failedObjectsSelector | container FailedObjectsSelectorType | [0,1] | Selects objects that were failed to be processed in previous activity run(s).

- ### Items

  - #### type

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Type of objects to be processed.

  - #### archetypeRef

    Flags: RAM

    Multiplicity: [0,1]

    Archetype of objects to be processed.

  - #### query

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Query specifying objects to be processed.

  - #### objectRef

    Flags: RAM

    Multiplicity: [0,-1]

    Explicit enumeration of objects belonging to this object set. Functionally equivalent to "inOid" filter in "query". Mutually exclusive with "query". Limitation: 1. All uses except for in "roleMembershipManagementWorkDefinition" are considered experimental. (They should work but no guarantees there.) 2. The list here is translated into "has OID" query, so it may not work adequately for large lists of objects (e.g. thousands).

  - #### searchOptions

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Options to be used when searching for objects.

  - #### useRepositoryDirectly

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Whether to use repository directly when searching for objects. (There's usually no need to specify this.)

  - #### failedObjectsSelector

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Selects objects that were failed to be processed in previous activity run(s).