# AccessCertificationCaseType (Complex Type)

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

An item that has to be certified, viewed in the scope of a given certification campaign.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
objectRef | reference ObjectReferenceType | [0,1] | Object (e.
targetRef | reference ObjectReferenceType | [0,1] | Quite an abstract parameter - describing the object of the certification case (e.
tenantRef | reference ObjectReferenceType | [0,1] | For parameterized certification items (e.
orgRef | reference ObjectReferenceType | [0,1] | For parameterized certification items (e.
activation | container ActivationType | [0,1] | If the target is assigned with activation information (e.
stageNumber | property int | [0,1] | The number of current stage in which this case is.
iteration | property int | [0,1] | Iteration this case takes part of.
workItem | container AccessCertificationWorkItemType | [0,-1] | Work items for this stage.
currentStageCreateTimestamp | property dateTime | [1,1] | When was this certification case requested to be reviewed? (Can be found in certification.
currentStageDeadline | property dateTime | [0,1] | When should this certification case be reviewed? (Can be found in certification.
currentStageOutcome | property anyURI | [0,1] | Currently valid outcome, relevant to the current stage.
outcome | property anyURI | [0,1] | The outcome, taking into account all closed stages plus current stage (if any).
reviewFinishedTimestamp | property dateTime | [0,1] | When was the review process for this case finished (for the current iteration)? This value is cleared for cases entering the next iteration.
remediedTimestamp | property dateTime | [0,1] | When was this certification case was remedied? If null, this means that either remediation was not required (either because the decision was "accept" or "abstain" or because remediation mode was set to "none").
event | container CaseEventType | [0,-1] | Events that occurred during lifetime of this case.

- ### Items

  - #### objectRef

    Flags: RAM

    Multiplicity: [0,1]

    Display order:

    Object (e.g. a user) that is being touched by this case.

  - #### targetRef

    Flags: RAM

    Multiplicity: [0,1]

    Display order:

    Quite an abstract parameter - describing the object of the certification case (e.g. a role, a resource, ...). Used for selecting relevant cases for approvals.

  - #### tenantRef

    Flags: RAM

    Multiplicity: [0,1]

    Display order:

    For parameterized certification items (e.g. assignments): a tenant parameter, if applicable. See discussion on tenantRef in AssignmentType.

  - #### orgRef

    Flags: RAM

    Multiplicity: [0,1]

    Display order:

    For parameterized certification items (e.g. assignments): an org parameter, if applicable. See discussion on orgRef in AssignmentType.

  - #### activation

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    If the target is assigned with activation information (e.g. validFrom/validTo/administrativeStatus) here is the information copied. Note that other activation information (e.g. effectiveStatus) are _not_ updated here and probably should be ignored.

  - #### stageNumber

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    The number of current stage in which this case is. E.g. currentOutcome relates to the currentStage. Case is "enabled" for a current campaign stage if and only if case.currentStage == campaign.stageNumber. When opening a campaign stage, case's currentStage either advances (if it is transferred to stage being opened) or stays at the existing value (if it is not). It then indicates the last stage this case was reviewed in.

  - #### iteration

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Iteration this case takes part of. Case is "enabled" for a current campaign stage if and only if case.iteration == campaign.iteration (beware of null comparison).

  - #### workItem

    Flags: RAM,runtime

    Multiplicity: [0,-1]

    Display order:

    Work items for this stage. Some might be completed. Work items are not deleted.

  - #### currentStageCreateTimestamp

    Flags: RAM,runtime

    Multiplicity: [1,1]

    Display order:

    When was this certification case requested to be reviewed? (Can be found in certification.stage.start but we need to sort according to this value.)

  - #### currentStageDeadline

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    When should this certification case be reviewed? (Can be found in certification.stage.end but we need to sort according to this value.)

  - #### currentStageOutcome

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Currently valid outcome, relevant to the current stage. It is recomputed on each reviewer's response based on defined algorithms. If the case is not transferred into the next stage, the value of this item stays as it is.

  - #### outcome

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    The outcome, taking into account all closed stages plus current stage (if any).

  - #### reviewFinishedTimestamp

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    When was the review process for this case finished (for the current iteration)? This value is cleared for cases entering the next iteration.

  - #### remediedTimestamp

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    When was this certification case was remedied? If null, this means that either remediation was not required (either because the decision was "accept" or "abstain" or because remediation mode was set to "none").

  - #### event

    Flags: RAM,runtime

    Multiplicity: [0,-1]

    Display order:

    Events that occurred during lifetime of this case.