WebQuerySave agent, formula language running as web user

Hi. Can anyone confirm this? I cannot find it documented. It seems that a webquerysave agent written in formula language always runs as the web user, but written in script runs as the agent signer.

I have a webquerysave agent in formula language which can be as simple as modifying the parent document when a response document is saved using @SetDocField. When it runs, it runs as the web user, regardless of whether the “Run as web user” flag is set on the agent (at least, the parent document shows last modified as the web user).

If I do the same using script, the agent seems to run as the agent signer (which is what I expected).

The real problem this causes is with security, since most of the app’s users are authors and do not have rights to the parent document which is being modified.

Thanks!