# OperationExecutionType (Complex Type)

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

Information about an operation executed on an object.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
recordType | property OperationExecutionRecordTypeType | [0,1] | Type of the operation execution record: either simple (recording modification or modifications of a given object) or complex (recording the whole process of e.
realOwner | container OperationExecutionRecordRealOwnerType | [0,1] | Information about operation execution record real owner.
timestamp | property dateTime | [0,1] | When was this information recorded.
operation | property ObjectDeltaOperationType | [0,-1] | The elementary modification operations that were part of the (complex or simple) operation execution and their results.
status | property OperationResultStatusType | [0,1] | Result status of the whole operation (complex or simple).
initiatorRef | reference ObjectReferenceType | [0,1] | User that initiated the operation.
taskRef | reference ObjectReferenceType | [0,1] | The task that was used to initiate the operation (if any).
channel | property string | [0,1] | Channel through which the operation was initiated.
requestIdentifier | property string | [0,1] | Request identifier related to this (complex or simple) operation.

- ### Items

  - #### recordType

    Flags: RAM,runtime,AVals:2

    Multiplicity: [0,1]

    Type of the operation execution record: either simple (recording modification or modifications of a given object) or complex (recording the whole process of e.g. reconciliation of a given object).

  - #### realOwner

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Information about operation execution record real owner. It is set only in the case that the record belongs to object other than its current holder. (The only reason for such redirection is that real owner has no repository object to attach the record to.)

  - #### timestamp

    Flags: RAM,runtime

    Multiplicity: [0,1]

    When was this information recorded. It is expected that it was when the operation finished (successfully or not).

  - #### operation

    Flags: RAM,runtime

    Multiplicity: [0,-1]

    The elementary modification operations that were part of the (complex or simple) operation execution and their results. However, the content would be reduced e.g. by deletion of modification items and operation result children. The level of reduction could be configurable in the future.

  - #### status

    Flags: RAM,runtime,AVals:8

    Multiplicity: [0,1]

    Result status of the whole operation (complex or simple).

  - #### initiatorRef

    Flags: RAM

    Multiplicity: [0,1]

    User that initiated the operation. (TODO)

  - #### taskRef

    Flags: RAM

    Multiplicity: [0,1]

    The task that was used to initiate the operation (if any). Only the latest result(s) for a given non-zero task OID will be kept for any object.

  - #### channel

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Channel through which the operation was initiated.

  - #### requestIdentifier

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Request identifier related to this (complex or simple) operation. Generally, each complex operation has its own request identifier, and it is used for all enclosed simple operations. However, there might be complex operations without request identifier (if model-level processing is not present).