# CaseCompletionEventType (Complex Type)

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

Supertype: CaseEventType
Event describing the completion of a workflow process instance.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
timestamp | property dateTime | [1,1] | Time in which the event occurred.
initiatorRef | reference ObjectReferenceType | [0,1] | Initiator is the (legal) entity on behalf of whom is the action executed.
attorneyRef | reference ObjectReferenceType | [0,1] | Attorney is the (physical) user who have executed the action.
stageNumber | property int | [0,1] | Number of the stage at which this event occurred (if the case resolution can be conceptually divided into stages).
iteration | property int | [0,1] | Iteration number.

- ### Items

  - #### timestamp

    Flags: RAM,runtime

    Multiplicity: [1,1]

    Display order:

    Time in which the event occurred.

  - #### initiatorRef

    Flags: RAM

    Multiplicity: [0,1]

    Display order:

    Initiator is the (legal) entity on behalf of whom is the action executed. When completing the work item in "attorney mode" the initiator is the user under which authority was the work item approved.

  - #### attorneyRef

    Flags: RAM

    Multiplicity: [0,1]

    Display order:

    Attorney is the (physical) user who have executed the action. This is the user that have logged-in to the user interface. This is the user that pressed the button to execute the action. This is always identity of a user and it will always be a user. It cannot be a company or any other virtual entity.

  - #### stageNumber

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Number of the stage at which this event occurred (if the case resolution can be conceptually divided into stages). Starts at 1. Null if not applicable.

  - #### iteration

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Iteration number. Currently applicable only to certification cases.