Hello,
Im having trouble creating a mailagent.
I created a database for logging contracts with a bunch of info, for example who is responsible for which contract, how long is it valid, what are the costs etc etc.
Now i want to create a mailagent that does the following:
It should send an email 14 days before the contract should be reconsidered to the person who is administrating the contract and to the person who is responsible for it.
I have the following fields:
ContractResponsibleField (you can select names from the notes adresbook here)
ContractAdministratorField (same as the previous field)
ContractDurationField (you can choose between 1 year, 2 year etc, up to 5 years)
ContractEndField (a computed date/time field which sets this field to the startdate + ContractDurationField)
ContractCancelField (period of notice field, ranging from one month before the conract ends to 6 months before the end of it)
So my bet would be I need an agent who does the following:
when the enddate of the contract minus the period of notice is 14 days from today it should send an email with a doclink to the specific contract so that the admin or the responsible can take action.
Further more I would like to be able to send them the same mail 1 week before it ends and maybe the final day a reminder or something.
When they take action the first time they receive the mail, both other mails are obsolete and should not be send anymore.
Problem is I have no idea how to fit this into an agent.
Can someonde help me please?
ps: I tried to phrase my question as clear as possible, but if someone doesnt understand it, don’t hesitate to ask ![]()
Thanks in advance,
Sander Voss
The Netherlands