[SalesForce] Notification after Knowledge Article is Published

I have a requirement to send custom notification to a group every time knowledge articles are published.

Now my problem is that when I am writing Apex trigger (After Insert, After Update, Before Insert, Before Update), trigger is not firing when the article is published(Publication Status changes from 'Draft' to 'Online").

Looking for some ideas how can I solution this? Thanks.

Best Answer

Looks like this limitation is clearly documented.

One workaround would be to maintain a custom field (may be a picklist or a Boolean ) and trigger off based on that and publish an article based on the custom field value.

If you are on classic lightning this would mean a field on Evey article type and hence lightning migration might be something to plan.

This adds some custom work and maintenance but if business needs this functionality worth a try.

Related Topic