locked
Emial Alert Notification on Task Creation RRS feed

  • Question

  • Have a site that we think has some database corruption so we exported the site and then imported in into anotehr new site with a slightly different name.

    When we run workflows on the new site tasks are created properly but the email notification is not sent.  Looking at the site names in the ALERT COLLECTION they appear to be the same, that is, the old site SITE1 has now been cloned to SITE1_2.  However the ALERT COLLECTION SPSite name for both sites says Site1.

    Am wondering if this is why the email notifications are not being sent?

     

    Thank you

    Chuck

    Friday, May 13, 2011 6:58 PM

Answers

  • Hello,

    I had the same problem. You have to attach those workflows again and it will work.

    Hope the information helps


    Thanks & Regards, Chandra Shekhar Rameneni
    • Marked as answer by Peng Lei Friday, May 20, 2011 2:10 AM
    Saturday, May 14, 2011 5:54 AM
  • Somehow in the export import process the new site and parent (root) site did not have some alert settings enabled.

    Here is what we did:

    stsadm -o getproperty -url http//sitename -pn job-worklfow

    stsadm -o setproperty -url http//sitename -pn job-worklfow -pv "Every 5 minutes between 0 and 59"

     

    stsadm -o getproperty -url http//sitename -pn job-immediate-alerts

    stsadm -o setproperty -url http//sitename -pn job-immediate-alerts -pv "every 3 minutes"

     

    Stsadm.exe -o getproperty -url http//sitename -pn alerts-enabled

    Stsadm.exe -o setproperty -url http//sitename -pn alerts-enabled -pv "Yes"

     

    Stsadm.exe -o getproperty -url http//sitename -pn job-daily-alerts

    Stsadm.exe -o setproperty -url http//sitename -pn job-daily-alerts -pv "Daily between 00:00:00 and 06:00:00"

     

     

    Friday, May 20, 2011 10:04 AM

All replies

  • Hello,

    I had the same problem. You have to attach those workflows again and it will work.

    Hope the information helps


    Thanks & Regards, Chandra Shekhar Rameneni
    • Marked as answer by Peng Lei Friday, May 20, 2011 2:10 AM
    Saturday, May 14, 2011 5:54 AM
  • We did attach the workflows and the workflows do work.  When you run a workflow that initiates TASKS through a Collect Data From User activity the task is created properly but the email notification is NOT sent.  Used SPM2007 and noticed that the new site SITE1_2 and the old site SITE1 both had the same name for SPSIte where the ALERT COLLECTIONS are listed.  Under SITE1 it shows under ALERT COLLECTION a SYSTEM object but under SITE1_2 under ALERT COLLECTION there is NO SYSTEM object/
    Saturday, May 14, 2011 11:12 AM
  • Somehow in the export import process the new site and parent (root) site did not have some alert settings enabled.

    Here is what we did:

    stsadm -o getproperty -url http//sitename -pn job-worklfow

    stsadm -o setproperty -url http//sitename -pn job-worklfow -pv "Every 5 minutes between 0 and 59"

     

    stsadm -o getproperty -url http//sitename -pn job-immediate-alerts

    stsadm -o setproperty -url http//sitename -pn job-immediate-alerts -pv "every 3 minutes"

     

    Stsadm.exe -o getproperty -url http//sitename -pn alerts-enabled

    Stsadm.exe -o setproperty -url http//sitename -pn alerts-enabled -pv "Yes"

     

    Stsadm.exe -o getproperty -url http//sitename -pn job-daily-alerts

    Stsadm.exe -o setproperty -url http//sitename -pn job-daily-alerts -pv "Daily between 00:00:00 and 06:00:00"

     

     

    Friday, May 20, 2011 10:04 AM