# ActivityDistributionDefinitionTailoringType (Complex Type)

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

Supertype: ActivityDistributionDefinitionType
TODO

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
buckets | container BucketsDefinitionType | [0,1] | How to create and manage buckets.
workers | container WorkersDefinitionType | [0,1] | How to create and manage workers.
workerThreads | property int | [0,1] | TODO
subtask | container ActivitySubtaskDefinitionType | [0,1] | How is the activity executed in separate subtask(s).
subtasks | container ActivitySubtaskDefinitionType | [0,1] | How are the activities executed in separate subtask(s).
autoScaling | container AutoScalingDefinitionType | [0,1] | Whether and how is this activity work distribution auto-scaled.
tailoringMode | property TailoringModeType | [0,1] | How the tailoring is applied.

- ### Items

  - #### buckets

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    How to create and manage buckets.

  - #### workers

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    How to create and manage workers.

  - #### workerThreads

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    TODO

  - #### subtask

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    How is the activity executed in separate subtask(s).

  - #### subtasks

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    How are the activities executed in separate subtask(s). This is actually a shortcut for tailoring the sub-activities: it does not apply to the activity itself, but to its children. TODO reconsider.

  - #### autoScaling

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Whether and how is this activity work distribution auto-scaled.

  - #### tailoringMode

    Flags: RAM,runtime,AVals:2

    Multiplicity: [0,1]

    Display order:

    How the tailoring is applied.