I am trying to implement a requirement where few knowledge articles based on the priority(custom picklist) will be auto published immediately they are getting created.
I am currently doing this with workflow and knowledge action. Tried using the KbManagement.PublishingService.publishArticle as well in the Trigger, but is this only available for Classic Knowledge and not for Lightning Knowledge?
Also apart from what I am doing, is there any better approach to solve this problem?