# ActivityPolicyType (Complex Type)

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

Policy for the activity execution.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
name | property string | [1,1] | Unique identifier of the policy rule.
description | property string | [0,1] | Free-form description of the rule (comment).
documentation | property string | [0,1] | Technical documentation for a particular object or construct.
policyConstraints | container ActivityPolicyConstraintsType | [0,1] | Set of governance, risk management, compliance (GRC) and similar policy constraints related to tasks.
policyActions | container ActivityPolicyActionsType | [0,1] | Actions to be taken when the activity is executed.

- ### Items

  - #### name

    Flags: RAM,runtime

    Multiplicity: [1,1]

    Display order:

    Unique identifier of the policy rule. It's used for diagnostic purposes

  - #### description

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Free-form description of the rule (comment).

  - #### documentation

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Technical documentation for a particular object or construct.

    The purpose of this element is to document system configuration and behavior. The documentation will not be presented to end users. In fact, it will probably not be presented at all in midPoint user interface. This documentation element is supposed to be a part of the technical documentation of midPoint deployment. The tools than generate deployment configuration will look for these elements and combine them to compiled documentation document.

    AsciiDoc formatting is assumed for this element. Any leading or trailing whitespace is skipped. Indentation equivalent to he indentation of the first non-blank line of text is also skipped.

  - #### policyConstraints

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Set of governance, risk management, compliance (GRC) and similar policy constraints related to tasks. These constraints act as triggers for the rules.

  - #### policyActions

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Actions to be taken when the activity is executed.