Lotus script agent and server

Hi guys,

I wrote a LS agent to delete the same document in two database. (I flaged with UNID). ie delete a document in dbA ,then it also looking at UNID in dbB and remove from it. I am sure the value of two document are the same.

I use documentbykey method in view class. A user told me when she was deleting the document from dba, but the document in dbb is still exist.

I try more than 100 times by myself and I cannot replicate teh probelms.

Is it a programming problem or the server problem ? … Please advice

along with busy time-problems (in proevious topic). The problem all happen between 9.00 to 10.00am period.

cheers,

peter

Subject: RE: lotus script agent and server

Sounds to me like a server problem, if the problem was limited to a specific time period and the same user now can delete documents and the mirror documents are also deleted.

It sounds like your code should check for an error locating the second document, and if it cannot delete the second document because (for instance) the server is down, it should refuse to allow deletion of the first document.

Why are you doing things this complicated way instead of just making a replica of the database?