# ReferenceSearchExpressionEvaluatorType (Complex Type)

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

Supertype: SearchObjectExpressionEvaluatorType
Create an expression that provides a reference based on search results.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
description | property string | [0,1] |
trace | property boolean | [0,1] |
relativityMode | property TransformExpressionRelativityModeType | [0,1] |
includeNullInputs | property boolean | [0,1] |
allowEmptyValues | property boolean | [0,1] | DEPRECATED.
condition | property ExpressionType | [0,1] | Condition driving whether this expression is evaluated at all (for given inputs).
targetType | property QName | [0,1] |
oid | property string | [0,1] |
filter | property SearchFilterType | [0,1] |
searchOnResource | property boolean | [0,1] | DEPRECATED, use searchStrategy instead.
searchStrategy | property ObjectSearchStrategyType | [0,1] |
defaultTargetRef | reference ObjectReferenceType | [0,1] |
createOnDemand | property boolean | [0,1] |
populateObject | property PopulateType | [0,1] |
populate | property PopulateType | [0,1] |
relation | property QName | [0,1] | Relation that will be set for new reference.

- ### Items

  - #### description

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### trace

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### relativityMode

    Flags: RAM,runtime,AVals:2

    Multiplicity: [0,1]

  - #### includeNullInputs

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### allowEmptyValues

    Flags: RAM,runtime

    Multiplicity: [0,1]

    DEPRECATED. Used allowEmptyValues in ExpressionType instead.

  - #### condition

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Condition driving whether this expression is evaluated at all (for given inputs).

  - #### targetType

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### oid

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### filter

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### searchOnResource

    Flags: RAM,runtime

    Multiplicity: [0,1]

    DEPRECATED, use searchStrategy instead.

  - #### searchStrategy

    Flags: RAM,runtime,AVals:3

    Multiplicity: [0,1]

  - #### defaultTargetRef

    Flags: RAM

    Multiplicity: [0,1]

  - #### createOnDemand

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### populateObject

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### populate

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### relation

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Relation that will be set for new reference.