# ConflictResolutionType (Complex Type)

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

How to resolve write-write conflicts on focal objects, i.e. if two threads modify given objects at once.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
action | property ConflictResolutionActionType | [1,1] | What action to take.
maxAttempts | property int | [0,1] | How many attempts to undertake at most.
delayUnit | property int | [0,1] | What delay (in milliseconds) to introduce between attempts.

- ### Items

  - #### action

    Flags: RAM,runtime,AVals:7

    Multiplicity: [1,1]

    Display order:

    What action to take.

  - #### maxAttempts

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    How many attempts to undertake at most.

  - #### delayUnit

    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 delayUnit*(2^(n-1)), where n is the number of conflict resolution attempt, starting at 1. (In other words, the potential delay is multiplied by two after each unsuccessful resolution attempt.)