# ForeachExpressionType (Complex Type)

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

Supertype: ScriptingExpressionType
Executes a given command individually for each item arriving at the input.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
variable | property QName | [0,1] | Variable to hold emitted instances.
scriptingExpression | property ScriptingExpressionType | [0,-1] |

- ### Items

  - #### variable

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Variable to hold emitted instances.

  - #### scriptingExpression

    Flags: RAM,runtime

    Multiplicity: [0,-1]