# ScriptExecutionObjectType (Complex Type)

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

Object(s) on which the script should be executed.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
currentObject | container ObjectSelectorType | [0,1] | Current object.
linkTarget | container LinkTargetObjectSelectorType | [0,-1] | Objects linked from this one, matching given selector(s).
namedLinkTarget | property string | [0,-1] | Objects linked from this one, with the specified link type name.
linkSource | container LinkSourceObjectSelectorType | [0,-1] | Objects linked to this one, matching given selector(s).
namedLinkSource | property string | [0,-1] | Objects linked to this one, with the specified link type name.

- ### Items

  - #### currentObject

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Current object. This is the default if nothing is specified.

  - #### linkTarget

    Flags: RAM,runtime

    Multiplicity: [0,-1]

    Objects linked from this one, matching given selector(s). TODO find better name.

  - #### namedLinkTarget

    Flags: RAM,runtime

    Multiplicity: [0,-1]

    Objects linked from this one, with the specified link type name. It is actually a shortcut for linkTarget with linkType set. EXPERIMENTAL. UNSTABLE. DO NOT USE.

  - #### linkSource

    Flags: RAM,runtime

    Multiplicity: [0,-1]

    Objects linked to this one, matching given selector(s). TODO find better name.

  - #### namedLinkSource

    Flags: RAM,runtime

    Multiplicity: [0,-1]

    Objects linked to this one, with the specified link type name. It is actually a shortcut for linkSource with linkType set. EXPERIMENTAL. UNSTABLE. DO NOT USE.