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
Praveen JhaPraveen Jha 

sending email notification to user when article is published

I have one custom field on user object like "Notify me of releases" which data type is checkbox . When user select "Notify me of releases" checkbox checked  user will get notification for every update of  article whose type is alert. 
Note:- I have created one article type alert.
PrakashbPrakashb
Hi Praveen,

You can create a public group for your article type. Whenever a user selects the check box you can add that user to the group using trigger.

Create a WF on the Article type and select the wf action as email alert and you can select the public group you have created.

Thanks
Prakash B
Praveen JhaPraveen Jha
Thanks Prakashb for your quick response. Can you please send the trigger code. I am new in development.
Marcel dos SantosMarcel dos Santos
Actually creating a public group and add users to that group won't work. Public groups won't allow Customer Community Login users to be added to it.

This limitation is described here:
http://resources.docs.salesforce.com/198/0/en-us/sfdc/pdf/salesforce_communities_implementation.pdf

Is there any other option to alert users when an article is published?