# DelegateWorkItemActionType (Complex Type)

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

Supertype: AbstractWorkItemActionType
TODO EXPERIMENTAL

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
name | property string | [0,1] |
displayName | property string | [0,1] |
description | property string | [0,1] |
condition | property ExpressionType | [0,1] | Should this action be executed? NOT IMPLEMENTED YET
approverRef | reference ObjectReferenceType | [0,-1] | Specific approver to replace the current one.
approverExpression | property ExpressionType | [0,-1] | Expression giving an approver to replace the current one.
outcomeIfNoApprovers | property anyURI | [0,1] | What is the outcome (of this work item) if there is no approver to delegate/escalate to?
duration | property duration | [0,1] | Duration of the work item after delegation.
delegationMethod | property WorkItemDelegationMethodType | [0,1] | How to delegate the work item? Default is "replace assignees".
notifyBeforeAction | property duration | [0,-1] | If specified, sends a standard "action to be executed" notifications at given times.

- ### Items

  - #### name

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### displayName

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### description

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### condition

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Should this action be executed? NOT IMPLEMENTED YET

  - #### approverRef

    Flags: RAM

    Multiplicity: [0,-1]

    Specific approver to replace the current one.

  - #### approverExpression

    Flags: RAM,runtime

    Multiplicity: [0,-1]

    Expression giving an approver to replace the current one.

  - #### outcomeIfNoApprovers

    Flags: RAM,runtime

    Multiplicity: [0,1]

    What is the outcome (of this work item) if there is no approver to delegate/escalate to?

  - #### duration

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Duration of the work item after delegation. If not specified, the deadline of the work item is not changed (this is meaningful only if the delegation occurs before the original deadline). TODO other time units, like business days? TODO relative to original start time, original deadline, or current time?

  - #### delegationMethod

    Flags: RAM,runtime,AVals:2

    Multiplicity: [0,1]

    How to delegate the work item? Default is "replace assignees".

  - #### notifyBeforeAction

    Flags: RAM,runtime

    Multiplicity: [0,-1]

    If specified, sends a standard "action to be executed" notifications at given times. (Unlike in timed action interval, here a positive time must be specified: just like for notifyBeforeDeadline in certification.) TODO other time units, like business days?