# ActivityControlFlowSpecificationType (Complex Type)

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

TODO

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
activityPrecondition | property ExpressionType | [0,1] | Precondition: an expression that governs whether the current activity should be executed or skipped, or whether the task should stop altogether.
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] | Define if the specified activity is executed.
prerequisite | property string | [0,-1] | TODO
errorHandling | container TaskErrorHandlingStrategyType | [0,1] | Error handling strategy for this activity.
repeatedExecution | property ActivityRepeatedExecutionStrategyType | [0,1] | Should be the activity re-executed when the task is restarted (e.
parallelExecution | property boolean | [0,1] | Whether the child activities should be executed in parallel.

- ### Items

  - #### activityPrecondition

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Precondition: an expression that governs whether the current activity should be executed or skipped, or whether the task should stop altogether. Should return a single value of ActivityPreconditionOutputType.

  - #### 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]

    Define if the specified activity is executed.

  - #### prerequisite

    Flags: RAM,runtime

    Multiplicity: [0,-1]

    TODO

  - #### errorHandling

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Error handling strategy for this activity.

  - #### repeatedExecution

    Flags: RAM,runtime,AVals:4

    Multiplicity: [0,1]

    Should be the activity re-executed when the task is restarted (e.g. resumed)? NOT IMPLEMENTED YET.

  - #### parallelExecution

    Flags: RAM,runtime

    Multiplicity: [0,1]

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