none
send a notification email RRS feed

  • Question

  • Hi,

    We have an infopath form library.We need to create a notification workflow similar to alerts. 

    In the OOTB alerts users are not able to subscribe on a column change.

    Creating eventreceivers does not work because users should be able to subscribe on particular document.

    Could you please suggest me how to send emails weekly or daily as in alerts in visual studio workflow.

    Thanks for your help.

    -Sireesha 


    • Edited by sireeshab Monday, May 14, 2012 1:17 AM
    Monday, May 14, 2012 12:47 AM

Answers

  • There are several possibilities.

    1) use views - How many possible values are there in the column that changes? If few, create a view with a filter on that column. Then when the users create an alert on that list they will find one additional option: "<label for="ctl00_PlaceHolderMain_ctl06_ctl01_RadioBtnAlertFilter_8">Someone changes an item that appears in the following view</label>". You would need to create a view for each value in that column and the users would need to create an alert for each one they are interested in.

    2) You could create a "dummy" filtered view that filters on an extra column that never changes. This would let the users create an alert on that view, but only so your code could read the alert list on that view. You would then create a scheduled job (console app) or a SharePoint timer job to that check to see if there are any changes, and then emails the users who have subscribed to that view.


    Mike Smith TechTrainingNotes.blogspot.com

    • Marked as answer by Shimin Huang Sunday, May 27, 2012 12:34 PM
    Monday, May 14, 2012 1:56 AM

All replies

  • There are several possibilities.

    1) use views - How many possible values are there in the column that changes? If few, create a view with a filter on that column. Then when the users create an alert on that list they will find one additional option: "<label for="ctl00_PlaceHolderMain_ctl06_ctl01_RadioBtnAlertFilter_8">Someone changes an item that appears in the following view</label>". You would need to create a view for each value in that column and the users would need to create an alert for each one they are interested in.

    2) You could create a "dummy" filtered view that filters on an extra column that never changes. This would let the users create an alert on that view, but only so your code could read the alert list on that view. You would then create a scheduled job (console app) or a SharePoint timer job to that check to see if there are any changes, and then emails the users who have subscribed to that view.


    Mike Smith TechTrainingNotes.blogspot.com

    • Marked as answer by Shimin Huang Sunday, May 27, 2012 12:34 PM
    Monday, May 14, 2012 1:56 AM
  • Mike,

    Thanks for the swift response. Sure, I will try to implement your suggestions and will get back to you.

    Thanks,

    Sireesha.

    Monday, May 14, 2012 10:17 PM