# TaskPartitionDefinitionType (Complex Type)

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

Describes how to create a single task partition.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
index | property int | [0,1] | The number of the partition, starting at 1.
taskName | property string | [0,1] | How to derive names for the partition task.
handlerUri | property anyURI | [0,1] | Partition task handler URI.
workManagement | container TaskWorkManagementType | [0,1] | Work management configuration to use for partition task.
executionEnvironment | property 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.
extension | container ExtensionType | [0,1] | Custom items to be added to the given partition task extension.
otherDeltas | property ItemDeltaType | [0,-1] | Other deltas to be applied to newly created partition task.
dependents | property int | [0,-1] | Dependents of this subtask, i.
stage | property ExecutionModeType | [0,1] | Name identifying task stage.
errorCriticality | container ErrorSelectorType | [0,1] | Defines which errors are critical and should stop the task in the defined stage.
processingOption | property PartialProcessingTypeType | [0,1] | Define if the specified stage is executed.

- ### Items

  - #### index

    Flags: RAM,runtime

    Multiplicity: [0,1]

    The number of the partition, starting at 1. It might be omitted if all partitions are explicitly defined, and all of them are unnumbered.

  - #### taskName

    Flags: RAM,runtime

    Multiplicity: [0,1]

    How to derive names for the partition task. It is possible to use substitution strings of {masterTaskName}, {masterTaskHandlerUri} and {index} here. Overrides the name specified in the parent element.

  - #### handlerUri

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Partition task handler URI. The default is {masterTaskHandlerUri}#{index}. Overrides the handler URI specified in the parent element.

  - #### workManagement

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Work management configuration to use for partition task. Overrides the value specified in the parent element.

  - #### 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. Overrides the value specified in the parent element.

  - #### extension

    Flags: dyn,RAM,runtime

    Multiplicity: [0,1]

    Custom items to be added to the given partition task extension.

  - #### otherDeltas

    Flags: RAM,runtime

    Multiplicity: [0,-1]

    Other deltas to be applied to newly created partition task.

  - #### dependents

    Flags: RAM,runtime

    Multiplicity: [0,-1]

    Dependents of this subtask, i.e. subtasks that should be started only after this subtask has finished. Provided as indices starting at 1.

  - #### stage

    Flags: RAM,runtime,AVals:3

    Multiplicity: [0,1]

    Name identifying task stage.

  - #### errorCriticality

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Defines which errors are critical and should stop the task in the defined stage.

  - #### processingOption

    Flags: RAM,runtime,AVals:3

    Multiplicity: [0,1]

    Define if the specified stage is executed.