# OperationResultType (Complex Type)

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

TODO

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
operation | property string | [0,1] |
qualifier | property string | [0,-1] | Something that more precisely defines (i.
operationKind | property OperationKindType | [0,1] | Kind of operation (e.
status | property OperationResultStatusType | [0,1] |
importance | property OperationResultImportanceType | [0,1] | Importance of the operation result (major, normal, minor).
asynchronousOperationReference | property string | [0,1] | Identifier (reference) of asynchronous operation.
start | property dateTime | [0,1] | When the operation started.
end | property dateTime | [0,1] | When the operation finished.
microseconds | property long | [0,1] | How long the operation took (if known).
cpuMicroseconds | property long | [0,1] | How much CPU time the operation took (if known).
invocationId | property long | [0,1] | ID of the operation invocation (if known).
traced | property boolean | [0,1] | Is the operation traced?
trace | container TraceType | [0,-1] | Tracing details (if known).
count | property int | [0,1] |
hiddenRecordsCount | property int | [0,1] |
params | property ParamsType | [0,1] |
context | property ParamsType | [0,1] |
returns | property ParamsType | [0,1] |
token | property long | [0,1] |
messageCode | property string | [0,1] |
message | property string | [0,1] | Error or warning message.
userFriendlyMessage | property LocalizableMessageType | [0,1] |
details | property string | [0,1] |
log | property LogSegmentType | [0,-1] | Log segments related to this operation result.
monitoredOperations | property MonitoredOperationsStatisticsType | [0,1] | Information (mainly counters and durations) about monitored operations.
partialResults | property OperationResultType | [0,-1] |

- ### Items

  - #### operation

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### qualifier

    Flags: RAM,runtime

    Multiplicity: [0,-1]

    Something that more precisely defines (i.e. qualifies) the operation. For example, object type for repository operations or clockwork state and wave for clockwork operations. It is used to be shown e.g. in operation performance statistics.

  - #### operationKind

    Flags: RAM,runtime,AVals:19

    Multiplicity: [0,1]

    Kind of operation (e.g. clockwork execution, mapping evaluation, repository access). To be used for easy navigation, result filtering, and so on.

  - #### status

    Flags: RAM,runtime,AVals:8

    Multiplicity: [0,1]

  - #### importance

    Flags: RAM,runtime,AVals:3

    Multiplicity: [0,1]

    Importance of the operation result (major, normal, minor). The default is "normal".

  - #### asynchronousOperationReference

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Identifier (reference) of asynchronous operation.

  - #### start

    Flags: RAM,runtime

    Multiplicity: [0,1]

    When the operation started.

  - #### end

    Flags: RAM,runtime

    Multiplicity: [0,1]

    When the operation finished.

  - #### microseconds

    Flags: RAM,runtime

    Multiplicity: [0,1]

    How long the operation took (if known).

  - #### cpuMicroseconds

    Flags: RAM,runtime

    Multiplicity: [0,1]

    How much CPU time the operation took (if known).

  - #### invocationId

    Flags: RAM,runtime

    Multiplicity: [0,1]

    ID of the operation invocation (if known).

  - #### traced

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Is the operation traced?

  - #### trace

    Flags: RAM,runtime

    Multiplicity: [0,-1]

    Tracing details (if known).

  - #### count

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### hiddenRecordsCount

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### params

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### context

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### returns

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### token

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### messageCode

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### message

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Error or warning message. This is optional, as some types does not need a message (e.g. success).

  - #### userFriendlyMessage

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### details

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### log

    Flags: RAM,runtime

    Multiplicity: [0,-1]

    Log segments related to this operation result.

  - #### monitoredOperations

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Information (mainly counters and durations) about monitored operations. These are the operations that are too small to be represented by OperationResult themselves, yet are important enough to be monitored. Examples: object cloning, lens element delta or state recomputation, and so on. The list depends on the current needs of midPoint performance improvement process.

  - #### partialResults

    Flags: RAM,runtime

    Multiplicity: [0,-1]