This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - Checking Expiry date daily with System Date and send an email

Shantha - Thursday, December 27, 2012 11:54 PM:

Hi All,

I have 1 Item Type named as New Instrument in which it has 1 field as Expiry Date the user fill the field when creating a New Instrument.

I need to create a method which internally checks the Expiry Date daily with System Date (say Expiry Date is 2/01/2013; System Date is 28/12/2012) so today the Manager need to get email stating that "The Instrument is going to expiry on 2/01/2013 please check it" How to perform this task. Any one help me. Thanks in advance.

 

Thanks,

Shantha.

 



fli - Wednesday, January 2, 2013 5:25 AM:

Hi Shantha,

How about using the "task scheduler" with windows server to preform a Aras method which then queries for all overdue Items and then sends notifications about these?

- Christoffer



dennis - Monday, January 7, 2013 2:22 PM:

If you are a subscriber, you can use the scheduler service that aras provides. The scheduler is designed to call a method. Your method would search for all New Instruments that have expired and send an email.