# ApprovalStageExecutionPreviewType (Complex Type)

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

Preview of an execution of an approval stage. Contains estimation of what approvers there would be; also - if applicable - any result that is expected to be automatically determined, and so on.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
expectedApproverRef | reference ObjectReferenceType | [0,-1] | Approvers that are expected to be part of this stage.
expectedAutomatedOutcome | property ApprovalLevelOutcomeType | [0,1] | Expected outcome that would occur automatically, i.
expectedAutomatedCompletionReason | property AutomatedCompletionReasonType | [0,1] | Reason of expected automated completion.
errorMessage | property string | [0,1] | Error message if preview couldn't be computed.

- ### Items

  - #### expectedApproverRef

    Flags: RAM

    Multiplicity: [0,-1]

    Approvers that are expected to be part of this stage. (Some might be "for sure" and some might be "expected", but currently we do not distinguish between these.)

  - #### expectedAutomatedOutcome

    Flags: RAM,runtime,AVals:3

    Multiplicity: [0,1]

    Expected outcome that would occur automatically, i.e. not based on the decision of human approvers. E.g. in case of no approvers, or because of automaticallyApproved/automaticallyCompleted feature.

  - #### expectedAutomatedCompletionReason

    Flags: RAM,runtime,AVals:2

    Multiplicity: [0,1]

    Reason of expected automated completion.

  - #### errorMessage

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Error message if preview couldn't be computed. (TODO)