Thursday, March 18, 2010

Bug with, Task Changed mail sent for First Approver after editing the approval Task in case of Workflow

I recently developed a two level approval workflow for leave approval.
During the flow of the workflow the workflow will sent an email to the first approver (ie. Team Leader) indicating that task has been assigned for you. While the Team Leader clicks on the link it will open the approval form and the TL can choose Accept or Reject. If the TL approves the leave ,a task will be assigned for the second Approver ( ie Manager) and it goes on..

In this case after the first approver approves or rejects (after editing the task) an email will be sent for approver indicating that the task has been changed.

This gave a heavy headache after some searching found a way to stop ..
Its by the use of the Sharepoint Manager 2007.
Not only to stop the email sending but also a powerfull tool for MOSS.

After downloading and running the exe file the Sharepoint Manager will display all the site collections and all the things inside you sharepoint.


Steps For clearing the issue:

  • Run the sharepoint Manager.
  • Goto your corresponding site and then to the site collection.
  • Click on the Alerts Collections it will display all the list of alerts which have been added.
  • In that find the task for the workflow email alert.
  • Double Click on it in the right hand it will display its property in that there will be a field called Event Type. By default it would be All change it to only "ADD"..

Email will be sent only for the task adding and not in case of task change..

Download Link is Sharepoint Manager 2007
Reference Link :http://vspug.com/keutmann/2006/11/01/sharepoint-manager-2007/

No comments:

Post a Comment