How the Auto Resolver Resolves Conflicts
The Auto Resolver Manager (ar_manager) includes a function that it assigns when an on_conflict event occurs. If this event occurs, then the synchronizer indicates the conflict and then provides information about this conflict. This conflict information might include the following items:
Local object Id
Remote object Id
Set of local fields
Set of remote fields
Conflict type as a duplication conflict or a general conflict
And so on
The Auto Resolver does the following work to resolve a conflict:
Examines the first rule that the autoresolver.js file contains.
If the rule that it examines in step 1:
Is applicable for the conflict. The Auto Resolver attempts to apply this rule to this conflict. If this rule:
Resolves the conflict. The Auto Resolver determines if another conflict exists. If it finds another conflict, then it repeats step 1 and step 2 until it processes all conflicts. If it does not find another conflict, then it quits this process.
Does not resolve the conflict. The Auto Resolver examines the next rule that the autoresolver.js file contains. It continues to process these rules sequentially in the order that they occur in the autoresolver.js file until it resolves the conflict or until it processes all rules.
Is not applicable for the conflict. The Auto Resolver examines the next rule that the autoresolver.js file contains.
If the Auto Resolver applies all rules but the conflict remains, then this conflict remains unresolved, and the Auto Resolver displays it in the Conflicts tab of the Control Panel dialog box of the CRM Desktop add-in.