# AssignActionExpressionType (Complex Type)

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

Supertype: AbstractExecutionActionExpressionType
Statically-typed "assign" action. Its parameters differ significantly from the parameters of dynamically-type assign action, because the latter ones were not designed well.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
type | property string | [0,1] | Action to execute.
parameter | property ActionParameterValueType | [0,-1] | Action parameters.
executeOptions | container ModelExecuteOptionsType | [0,1] | Model execute options.
dryRun | property boolean | [0,1] | Should the action be only previewed (run as "dry")?
targetRef | reference ObjectReferenceType | [0,-1] | Target(s) to be assigned.
resourceRef | reference ObjectReferenceType | [0,-1] | Resource(s) to be assigned.
construction | container ConstructionType | [0,-1] | Resource object constructions to be assigned.

- ### Items

  - #### type

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Action to execute.

  - #### parameter

    Flags: RAM,runtime

    Multiplicity: [0,-1]

    Action parameters.

  - #### executeOptions

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Model execute options.

  - #### dryRun

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Should the action be only previewed (run as "dry")?

  - #### targetRef

    Flags: RAM

    Multiplicity: [0,-1]

    Target(s) to be assigned. May contain filters. If such filters are present, they are evaluated at action execution time. (This behavior may change in the future!) If relations other than default are to be used, they should be provided within the reference(s).

  - #### resourceRef

    Flags: RAM

    Multiplicity: [0,-1]

    Resource(s) to be assigned. May contain filters. If such filters are present, they are evaluated at action execution time. (This behavior may change in the future!)

  - #### construction

    Flags: RAM,runtime

    Multiplicity: [0,-1]

    Resource object constructions to be assigned. These are assigned "as is", with no filter evaluation. (This behavior may change in the future!)