function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Anupama PandeyAnupama Pandey 

Unable to find Task object while creating new email alert

I am trying to create an email alert but i could not locate 'Task' in available object drop down list.


Please advise.User-added image
Best Answer chosen by Anupama Pandey
Rajesh PotnuruRajesh Potnuru
Along with TASK we can't create Email Alert for below objects.

Price Books
Salesforce CRM Content
Task
Events
Activity

All Answers

Rajesh PotnuruRajesh Potnuru
Hi Anupama,

As per SFDC current version creating an email alert on Task object is not possible

Best to My analysis, create a Batch Apex Job that will pull all the Task records having status value other than “Completed/Closed” and Last Modified  Date is less than current date (i.e. if Today is 30June , then we should  pick all the tasks having last modified date as 29 June) and should shoot an email to “Assigned to” of task with their current status value (regardless of any flips between the different status values in a record)  at the time of Apex job will run.

Note: Last Modified date can be changed on a record , if any field value on record changes. (i.e. we are not limiting only to Status Field value changed.


Thanks & Regards,
Rajesh Potnuru
Rajesh PotnuruRajesh Potnuru
Along with TASK we can't create Email Alert for below objects.

Price Books
Salesforce CRM Content
Task
Events
Activity
This was selected as the best answer
Rajesh PotnuruRajesh Potnuru
Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.