# ActivityControlFlowDefinitionType (Complex Type)

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

Defines the features related to the flow of control within an activity (simple or composite).

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
bucketProcessingCondition | property ExpressionType | [0,1] | Condition for processing or analysing specific buckets.
itemProcessingCondition | property ExpressionType | [0,1] | Condition for processing specific items.
processingOption | property PartialProcessingTypeType | [0,1] | Controls whether the specified activity is executed.
errorHandling | container ActivityErrorHandlingStrategyType | [0,1] | Error handling strategy for this activity.
parallelExecution | property boolean | [0,1] | Whether the child activities should be executed in parallel.

- ### Items

  - #### bucketProcessingCondition

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Condition for processing or analysing specific buckets. Currently supported for iterative activities. (If present and if returns false, the bucket is marked as complete without any processing.)

  - #### itemProcessingCondition

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Condition for processing specific items. Currently supported for iterative activities. (If present and if returns false, the item processing is skipped.)

  - #### processingOption

    Flags: RAM,runtime,AVals:3

    Multiplicity: [0,1]

    Controls whether the specified activity is executed.

  - #### errorHandling

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Error handling strategy for this activity.

  - #### parallelExecution

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Whether the child activities should be executed in parallel. (This is applicable only to composite activities.)