# RestartActivityPolicyActionType (Complex Type)

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

Supertype: ActivityPolicyActionType
Restart the run and realization of the activity that triggered policy constraint.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
delay | property int | [0,1] | What delay (in milliseconds) to introduce between attempts.
restartCounters | property boolean | [0,1] | Whether to reset counters for the activity when it is restarted.

- ### Items

  - #### delay

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    What delay (in milliseconds) to introduce between attempts. Actual delay is taken as a random number between 0 and delay*(2^(n-1)), where n is the number attempts so far.

  - #### restartCounters

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Whether to reset counters for the activity when it is restarted. If set to false, the counters are not reset and the activity is restarted with the same counters as before.