Getting SP Custom Workflow TaskProperties.SendEmailNotification to send Emails

If you want SharePoint Custom workflow to send emails on task creation, what you need is set SendEmailNotification  to true on the task creation activity.

However if you are using out-of-the-box “Workflow Task” list for workflow tasks, this may not work right away as you expect.  The tick to get this to work is set  “Send e-mail when ownership is assigned” to “Yes” on the Task list properties.

That can be by,

  1. Navigate to Workflow Task List Settings.
  2. Access the  “Advanced Settings”
  3. Set “Send e-mail when ownership is assigned” to “Yes”
If you are using a custom list  for workflow tasks set  EmailAssignTo=”TRUE” on the schema.xml.
e.x.
<List xmlns:ows=”Microsoft SharePoint”
      Title="Workflow Tasks"
      FolderCreation="FALSE"
      EnableContentTypes="TRUE"
      VersioningEnabled="False"
      Url="Lists/WorkflowTasks"
      EmailAssignTo="TRUE"
      Type="107" BaseType="
Advertisements

One thought on “Getting SP Custom Workflow TaskProperties.SendEmailNotification to send Emails

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s