# CaseWorkItemType (Complex Type)

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

Supertype: AbstractWorkItemType
A work item for a (generic) case.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
name | property PolyStringType | [0,1] | Descriptive name of the work item.
stageNumber | property int | [0,1] | Number of the stage this work item is part of.
createTimestamp | property dateTime | [0,1] | When was this work item created?
deadline | property dateTime | [0,1] | When is this work to be done? May be moved via escalation(s).
originalAssigneeRef | reference ObjectReferenceType | [0,1] | Original assignee for this work item.
assigneeRef | reference ObjectReferenceType | [0,-1] | Users to which the work item is assigned.
candidateRef | reference ObjectReferenceType | [0,-1] | Users and abstract roles to which the work item MAY BE assigned.
performerRef | reference ObjectReferenceType | [0,1] | User who actually executed (completed) this work item.
escalationLevel | property WorkItemEscalationLevelType | [0,1] | TODO
output | container AbstractWorkItemOutputType | [0,1] | Work item output (if any).
closeTimestamp | property dateTime | [0,1] | When was this work item closed.
additionalInformation | property InformationType | [0,-1] | Information to be shown to the approver.

- ### Items

  - #### name

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Descriptive name of the work item. E.g. "Assign role1 to user1".

  - #### stageNumber

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Number of the stage this work item is part of.

  - #### createTimestamp

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    When was this work item created?

  - #### deadline

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    When is this work to be done? May be moved via escalation(s).

  - #### originalAssigneeRef

    Flags: RAM

    Multiplicity: [0,1]

    Display order:

    Original assignee for this work item.

  - #### assigneeRef

    Flags: RAM

    Multiplicity: [0,-1]

    Display order:

    Users to which the work item is assigned. Other users do not see such a work item in their work lists. Normally the work item is assigned to a single user. However, when delegating (directly or via escalation) more assignees could be added.

  - #### candidateRef

    Flags: RAM

    Multiplicity: [0,-1]

    Display order:

    Users and abstract roles to which the work item MAY BE assigned.

  - #### performerRef

    Flags: RAM

    Multiplicity: [0,1]

    Display order:

    User who actually executed (completed) this work item.

  - #### escalationLevel

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    TODO

  - #### output

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Work item output (if any).

  - #### closeTimestamp

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    When was this work item closed. (If null, it is considered open.)

  - #### additionalInformation

    Flags: RAM,runtime

    Multiplicity: [0,-1]

    Display order:

    Information to be shown to the approver. Migrated from WorkItemType. EXPERIMENTAL