# TaskExecutionConstraintsType (Complex Type)

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

Constraints on task execution, e.g. a execution group, allowed/disallowed nodes, etc.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
group | property string | [0,1] | A group this task is a part of.
groupTaskLimit | property int | [0,1] | Number of tasks within the group that can be executed at once (cluster-wide).
secondaryGroup | container TaskExecutionGroupConstraintType | [0,-1] | Other limitations for the task.
retryAfter | property duration | [0,1] | In what time to retry after cluster-wide execution constraints are not met.

- ### Items

  - #### group

    Flags: RAM,runtime

    Multiplicity: [0,1]

    A group this task is a part of. In the future, task execution groups will probably have more complex parameters. But for now, their only parameter is the (cluster-wide) member tasks limit. They are also referenced from NodeType when specifying execution limitations for them.

  - #### groupTaskLimit

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Number of tasks within the group that can be executed at once (cluster-wide). Default is "unlimited". This parameter will be moved into separate task group object in a later version of midPoint.

  - #### secondaryGroup

    Flags: RAM,runtime

    Multiplicity: [0,-1]

    Other limitations for the task.

  - #### retryAfter

    Flags: RAM,runtime

    Multiplicity: [0,1]

    In what time to retry after cluster-wide execution constraints are not met. The default is 1 minute.