UpdateProcessedDoc - do the signer/caller needs designer access for this to work?

Hi designers,

I have an agent, target “all new & modified documents”:

===========================

Set db = session.CurrentDatabase

Set dc = db.UnprocessedDocuments

Set doc = dc.GetFirstDocument

While Not (doc Is Nothing)

Call doc.ComputeWithForm(True,False)

Call doc.Save(True,False)

Call session.UpdateProcessedDoc(doc)

Set doc = dc.GetNextDocument(doc)

Wend

==============================

This agent is called by agent.Run from another agent.

When I did this on my prototype, it works fine, only the new/modified docs are recomputed&saved.

But when I run it now on the productive db (same data, same template), each call of the agent recomputes&saves all docs in the db!

The only difference between the 2 dbs are my access rights: In the productive db I have only editor access.

thx in advance for any help

Uwe