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
Azhar Iqbal 4Azhar Iqbal 4 

How to add trigger on Article Type?

I want to add a trigger on Article type whenever it is updated. 
In my initial search i have came across answers which says, its not possible to add trigger on Article Type.
Can anyone please help?
NagendraNagendra (Salesforce Developers) 
Hi Azhar,

When you define your article types, there would be a corresponding object created in the backend. You may not add triggers or validations on these objects but you CAN define Workflow Rules. 
 
Create an email alert with Workflow rule and have that email sent to salesforce email service. Then you can define your entire trigger transactions inside email handler. KbManagement.PublishingService class has all support API that you may need.
 
Let me know if this is not clear.

Kindly mark this as solved if the information was helpful.

Thanks,
Nagendra