# TaskWorkManagementType (Complex Type)

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

Describes how we are going to manage the work that is to be done: how to divide it into work buckets, how to describe progress within buckets, how to create and manager workers that will process the buckets.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
taskKind | property TaskKindType | [0,1] | Kind of task with respect to the work management (standalone, coordinator, worker).
scavenger | property boolean | [0,1] | Is this task a scavenger i.
partitionSequentialNumber | property int | [0,1] | If this is a partition task executed sequentially under a partitioned master, this is its sequential number.
buckets | property WorkBucketsManagementType | [0,1] | How to create and manage buckets.
workers | property WorkersManagementType | [0,1] | How to create and manage workers.
partitions | property TaskPartitionsDefinitionType | [0,1] | How to create and manage partitions.

- ### Items

  - #### taskKind

    Flags: RAM,runtime,AVals:4

    Multiplicity: [0,1]

    Kind of task with respect to the work management (standalone, coordinator, worker).

  - #### scavenger

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Is this task a scavenger i.e. will it wait until the work is done, looking for buckets that could be reclaimed?

  - #### partitionSequentialNumber

    Flags: RAM,runtime

    Multiplicity: [0,1]

    If this is a partition task executed sequentially under a partitioned master, this is its sequential number.

  - #### buckets

    Flags: RAM,runtime

    Multiplicity: [0,1]

    How to create and manage buckets.

  - #### workers

    Flags: RAM,runtime

    Multiplicity: [0,1]

    How to create and manage workers.

  - #### partitions

    Flags: RAM,runtime

    Multiplicity: [0,1]

    How to create and manage partitions.