You are here:
Considerations for Enabling User Control of Task Notifications
When the setting Enable user control over task assignment notifications is enabled in Activity Settings, users see the option Email me when someone assigns me a task in their personal settings. Both the setting and the option are enabled by default.
Required Editions
| Available in: Salesforce Classic, Lightning Experience, and all versions of the Salesforce mobile app |
| Available in: All editions except Personal |
This setting enables both email notifications and UNS notifications.
Enabling and disabling the setting affects users in different ways. Before migrating a Salesforce org, avoid excessive email notifications by disabling the setting. You can re-enable it after migration.
| User Type | Effects of Enabling the Feature | Effects of Disabling the Feature |
|---|---|---|
| Salesforce app users, including Experience Builder site users | In My Settings | Notifications, the Assigns you a task checkbox is displayed. | In My Settings | Notifications, the Assigns you a task checkbox isn’t displayed. |
| Lightning Experience users | On the Activity Reminders page in the user's personal settings, the Email me when someone assigns me a task checkbox is displayed, and it’s selected by default. | No user receives an email notification when another user assigns a task. |
| Salesforce Classic users, including Experience Builder site users |
|
|
| Partner portal and partner community users |
|
On the Create Task page, the Send email notification and Make this the default setting checkboxes are displayed, and email notifications are sent according to whether the checkboxes are selected. |
| Users who are assigned tasks that are generated by workflow task rules |
|
Email notifications are sent to task assignees according to workflow task rules. |
| Users who are assigned tasks through an API | Use an API to set the triggerUserEmail value. The default is false.
If using REST API, create a custom REST endpoint and set the email trigger options to send notifications, as needed. |
|
| Users who are assigned tasks through Apex | Notifications that are sent through Apex are sent in the context of the request header. | If a value in the request header is set so that email notifications are sent, email notifications are sent to users when tasks are assigned. Apex processes the header sequentially from the first line to the last. If a statement in the request header indicates that a task notification is required, an email notification is sent regardless of statements later in the header. |

