Error message when routing a document in Domino applications

hi there.

I am having a slight problem in routing the documents from the current applications. The problem only happened after we migrated from Domino 7.0.3 to Domino 8.5 recently. Document was successfully routed but an error message will pop up before the document is closed.

Lotus Notes Error: You cannot update or delete the document(s) since you are not listed as an allowable author for this document.

The error is probably caused by the Author field being refreshed when the document is routed and closed. I am sure the error is fixable but I’ve got close to two hundreds of applications to fix. :frowning: Would appreciate it if someone could offer any explaination on why the error is occuring in Domino 8.5 but not in the previous Domino versions?

Subject: I wonder whether the order of some event has changed

I haven’t heard of any change regarding access, so I think things must be happening in a different order, one which results in the document being saved before it should have been – before you were done making changes to it. Without seeing the code in the different events, I couldn’t guess more specifically than that.

Subject: you are probably right

Thanks Andre.

I guess you are probably right. I noticed that the document status would change right after the agent is run before the document is closed.

Anyways, I tried removing the following script in PostOpen and the problem seems to disappear.

Set uidoc = source

Set doc = source.document

I just hope that removing them won’t cause any side effect. :confused: fingers crossed