# TaskPartitionsDefinitionType (Complex Type)

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

Describes how to partition the work into subtasks. If interpreted by a specific task handler (e.g. partitioned reconciliation task handler), defaults other than the ones specified here might be applied.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
count | property int | [0,1] | Number of partitions to create.
sequentialExecution | property boolean | [0,1] | Whether the subtasks should be executed sequentially.
durablePartitions | property boolean | [0,1] | Whether the partitions should be durable i.
taskName | property string | [0,1] | How to derive names for partition tasks.
handlerUri | property anyURI | [0,1] | Partition tasks handler URI.
workManagement | container TaskWorkManagementType | [0,1] | Work management configuration to use for partition task.
executionEnvironment | container TaskExecutionEnvironmentType | [0,1] | Execution environment configuration to use for partition task.
copyMasterExtension | property boolean | [0,1] | Whether to copy task extension from the master task.
otherDeltas | property ItemDeltaType | [0,-1] | Other deltas to be applied to newly created partition tasks.
partition | container TaskPartitionDefinitionType | [0,-1] | Definition of the partition(s).

- ### Items

  - #### count

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Number of partitions to create. Optional. The default is the number of partition item values.

  - #### sequentialExecution

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Whether the subtasks should be executed sequentially.

  - #### durablePartitions

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Whether the partitions should be durable i.e. whether they should persist through master task restarts. This is useful e.g. for partitioned validity scanner because each partition keeps its own last scan timestamp. (EXPERIMENTAL)

  - #### taskName

    Flags: RAM,runtime

    Multiplicity: [0,1]

    How to derive names for partition tasks. It is possible to use substitution strings of {masterTaskName}, {masterTaskHandlerUri} and {index} here.

  - #### handlerUri

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Partition tasks handler URI. The default is {masterTaskHandlerUri}#{index} or http://midpoint.evolveum.com/xml/ns/public/task/workers-creation/handler-3 for subtasks that are coordinators themselves.

  - #### workManagement

    Flags: elaborate,RAM,runtime

    Multiplicity: [0,1]

    Work management configuration to use for partition task.

  - #### executionEnvironment

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Execution environment configuration to use for partition task.

  - #### copyMasterExtension

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Whether to copy task extension from the master task.

  - #### otherDeltas

    Flags: RAM,runtime

    Multiplicity: [0,-1]

    Other deltas to be applied to newly created partition tasks.

  - #### partition

    Flags: RAM,runtime

    Multiplicity: [0,-1]

    Definition of the partition(s).