# WorkBucketType (Complex Type)

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

Description of a state and content of a work bucket. Buckets are used e.g. to distribute workload in multi-node tasks or to implement stateful suspend+resume.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
sequentialNumber | property int | [1,1] |
state | property WorkBucketStateType | [1,1] |
content | property AbstractWorkBucketContentType | [1,1] |
workerRef | reference ObjectReferenceType | [0,1] | Worker task to which this bucket is delegated.

- ### Items

  - #### sequentialNumber

    Flags: RAM,runtime

    Multiplicity: [1,1]

  - #### state

    Flags: RAM,runtime,AVals:3

    Multiplicity: [1,1]

  - #### content

    Flags: RAM,runtime

    Multiplicity: [1,1]

  - #### workerRef

    Flags: RAM

    Multiplicity: [0,1]

    Worker task to which this bucket is delegated. Must be set for buckets in DELEGATED state. May be set for buckets in COMPLETE state. Must not be set for buckets in READY state.