I have two servers lets call them server A and B. In A, I have order documents and B is a replicate of A (A replicates to B every minute). In B, I have a java agent which is scheduled every 5 minutes and is sending a document to a website but also puts a flag in a field of the document. Many times now I get save/replication conflict on server A of that particular document which has been accessed by server B. This because others are also editing the same document on server A. How can this problem be solved?
If the documents on A are created using a form, enable the "Merge conflicts" in form properties. If the documens are created with an agent, add a reserved field doc.~$ConflictAction = "1"
.