?
Solved

Need help with and agent for auto email based on date in form.

Posted on 2003-03-20
3
Medium Priority
?
176 Views
Last Modified: 2013-12-18
The form name is problem, the field name is holduntildate. I want the system to send a standard email with a form link to the author (also a field name on the same form)when the holduntildate matches today's date.

Please be descriptive as I am a true newbie to Lotus notes! I've never run an agent and I don't know code.
0
Comment
Question by:aeonflux2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 7

Expert Comment

by:scottrma
ID: 8177292
Create a view with a selection formula such as the following:

SELECT Form = "problem" & holduntildate = @Today

Then create an agent, set it to run on all documents in the database, and then in the agent's Search Builder window, add the additional criteria that the documents must appear in the view that you just created. Then, in your agent, add some formula such as this:

@MailSend(author; ""; ""; "Subject"; "Remark"; ""; [IncludeDocLink])

Regards,

Scott
0
 

Author Comment

by:aeonflux2
ID: 8183919
The view is not pulling any of the problem forms with a hold date of today.
0
 
LVL 7

Accepted Solution

by:
scottrma earned 500 total points
ID: 8184668
Look at the document properties box for any one of your documents that should be appearing in the view. Check your field "holduntildate". What is the datatype? Is it Time/Date, Text, or something else? If it is Text, then you would need a selection formula like

SELECT Form = "problem" & holduntildate = @Text(@Today)

Also, is your form name really "problem"? Or is it "Problem" or "PROBLEM" or "PrObLeM"? You may want to try something like

SELECT @LowerCase(Form) = "problem" & holduntildate = @Today

Regards,

Scott
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IBM Notes offer Encryption feature using which the user can secure its NSF emails or entire database easily. In this section we will discuss about the process to Encrypt Incoming and Outgoing Mails in depth.
This article covers general Notes 8.5 troubleshooting information including recreating the Notes\Data folder.
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question