Provide Email link to Document

Hi

Help with formula…

person A goes in and creates document- no email sent

person B goes in and add something new to document -email needs to be sent to person A

Person A goes back and re edits the document - no email sent…

this is sample of code i am using but not working…

@If(@Contains(LastUpdatedBy; “PersonB(name)”) ; @If(@Contains(TitleField;“Test”);

@MailSend(“Person A email address”;“”;“”;“Doc has been edited by Person B”;“Here is link to doc”;“”;[IncludeDoclink]);“”);

@Command( [ViewRefreshFields] ))

Subject: Provide Email link to Document

Hi Jill,

Where did you mention the code ???

I suggest you to write code in QuerySave event of the form if it is Notes Client and if it is web client then WebQuerySave event.

In QuerySave event you can write code in both LotusScript/Formula. In this event based on the current user i.e., @username send an email notification. I mean if current user is Person B and the original author is Person A then send email to Person A.

I hope this will help. provide more info if you need anything more than I mentioned.

-Ravi.

Subject: RE: Provide Email link to Document

Hi Ravi

yip code is going querysave…my code at end of my first posting…

@if(@contains