Part of WebQuerySave agent doesn't run when someone else triggers it - help?

Hello,Below is a formula agent that’s triggered by WebQuerySave.

When I submit a document on the web, agent runs, flag_Notify is set and email is sent.

(Agent is signed by me)

When someone else submits a document, the agent runs, flag_Notify gets set, but there’s no email. User has Author access.

What’s going on?


FIELD flag_Notify:=flag_Notify;

@If(flag_Notify=“”;

@Do( @SetField("flag_Notify"; @Text(@Now)); 

@MailSend( “Jane Doe”; “”; “”; “subject”; “remark”; “” ; [IncludeDoclink]));

	"");

Thanks in advance.

Tina