Hi everyone!
In our workflow application users create docs, and mail notification for a manager is created (through @MailSend in a “Create” action button). Then manager edits the doc and sends another notification (also through @MailSend) to a user. @UserNames are saved in a computed-on-compose field, @MailSend uses another field (@Name([ABBREV];ADDR_FIELD)) to send notifs.
I am the designer of this app. While testing: I succesfully create @mailsends, BUT on managers’ side - @Mailsend does not working.
What’s wrong?
Thanks in advance,
Dmitry.
Subject: Are you using author and/or reader fields?
I had a similar issue with @mailsend and including a doclink. Once the user saved the doc I did not include them in any authors fields (so they could not change what they submitted). I removed the includedoclink from the @mailsend and it worked fine. It seems the user did not have access to the doc anymore. This was not an issue with my app as I did not need the doclink in the email but you may need that. It does give you something to test however. Hope it works out.
Subject: @MailSend not working
Change your compute on compose field to compute since the compute on compose stores the the username when the document is created only.
Kev
Subject: Re:Re:@MailSend not working
I thought that Compute On Compose saves info? Or not?
It does (I checked).
One more detail: @MailSend is included in @Do() function chain (because this @Do is included to a @If…)
?
Subject: insufficient info – Re:Re:@MailSend not working
The computed-when-composed is not the issue. You haven’t told us enough. Does a mail doc get created by the manager? Does it fail to route? Is the @MailSend returning an error? Does it ever get executed within your @If / @Do? Is the field used to address the new memo contain a valid address? What does the code look like?