task notification service?

Hi all,

I am thinking of creating an extra feature into a derivative taskvision app to send reminder emails out to task assignees when the 'complete by' date is almost up.

Basically I am looking for some pointers on how to approach designing/coding this...my first thought is a windows service to poll the database once a day and find incomplete tasks that are almost up and send emails to the assignees...is a windows service the way to go or have I got the wrong end of the stick

Thanks,

Paul


Answer this question

task notification service?

  • IDO

    Hmmm, a minor problem...if the box gets rebooted, the cache gets cleared...doh!
  • Lucky5

    You can handle the task notifications internally to the web environment for TaskVision.  ASP .NET implements an SmtpMail class already, and by adding a pseudo item to the cache with the appropriate Cache removal callback you can have your timed mail sending process.

    The amount of code required is only about 20 or so lines to your global.asax and you can use the existing TaskVision business objects to get any information for sending the emails.

  • Sergey Okhotny

    I am also interested in this and also something on the other end of the process.  Please let me know what you find out.

    Also, I would like to see something that sends out an email to the assignee if the person making the new task/task change is not the assignee himself.  This way, the assignee knows about the change without having to have the application open.

    TIA,
    Chris

  • piaqt

    ASP .NET puts thousands if not hundreds of thousands of items in the cache already for very large applications.  So adding cache items that do nothing more than expire and have a Cache expiration callback is not really a big deal.
  • Robert C. Bennett

    That sounds like an elegant solution Justin, would there be a theoretical limit on the number of pseudo items you could put in the cache

    Paul

  • OlgaD

    All good ideas!!  I have heavily modified TaskVision base to add additional lookup tables and additional fields to the base tables (whew, a project in itself) as well as a few cystal reports and have been toying with adding an email alert system.  If I do,  I'll probably go the service route or I'll create a console app to be called by the NT scheduler.  Let me know how it works for you and what issues you ran into.

    Thanks,

    JEC

  • task notification service?