# SearchExpressionType (Complex Type)

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

Supertype: ScriptingExpressionType
Queries the model for objects of a given type, optionally fulfilling given condition.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
type | property QName | [1,1] |
variable | property string | [0,1] |
query | property QueryType | [0,1] |
searchFilter | property SearchFilterType | [0,1] |
options | property SelectorQualifiedGetOptionsType | [0,1] |
parameter | property ActionParameterValueType | [0,-1] |
scriptingExpression | property ScriptingExpressionType | [0,1] |
aggregateOutput | property boolean | [0,1] | Whether to aggregate and pass forward the output of expression evaluations that are done for each object found.

- ### Items

  - #### type

    Flags: RAM,runtime

    Multiplicity: [1,1]

  - #### variable

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### query

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### searchFilter

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### options

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### parameter

    Flags: RAM,runtime

    Multiplicity: [0,-1]

  - #### scriptingExpression

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### aggregateOutput

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Whether to aggregate and pass forward the output of expression evaluations that are done for each object found. (Meaningful only if scriptingExpression is specified.) Default is true for compatibility reasons. Set to false to optimize memory consumption.