+ 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.