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

Trigger on the Note object

Is it possible to fire off a trigger on the Note object and if one can not what is the possible work around for this?





I dont think one can write trigger on the note object. I guess a possible workaround might be using a custom note object.(Attachments might be a trouble in this case.)

Yes, you can create the trigger on notes object from the IDE.


trigger Test on Note (before insert, before update) {



Yes, I know that one can create triggers on the Note object through the Eclipse IDE.


The problem is that the trigger does not fire in Salesforce.I switched on the debug logs and I don't see this trigger firing off


Have you created a trigger on the Notes object under Account? I'd like to trigger an email alert to the account owner or other email ids when a new note is added under an account.


How do I achieve this?


I am not able to write trigger on Note using Eclipse as I cannot see 'Note' at all even if I try to add/remove components.

While trying to write new trigger, it asks for the Sobject, but 'Note' is not in the list.  How to do this? please help.