How to write a trigger to fire a task to a public group whenever an article is created(when they are in draft) in the 'Article management' tab. This is to send a task to the public group/team to read the article which is created and then the team has to publish it. Workflow rules are not available for Article management/Knowledge articles. Thanks !
You can't create a trigger because triggers are not available for articles, but you can create a workflow rule on the article type. If you have an article type. called "FAQ", you should be able to create a workflow rule on the FAQ object.
If the tasks are not available as actions for these objects, you can do the following:
Create a workflow rule on the article object. Have an email alert to be sent to an email service address Create a handler for the email service and from that class, create the task through from apex.