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
Cloud EliteCloud Elite 

How can I populate a custom field on Article with data categories ?

Hello all, 

I would like to know if possible to populated a custom field I created on Article (knowledge__kav) called Cat__c with whatever the user add on the data category ? how can I accomplished this ? 

Also I want to be able to prevent publishing the article or submitting it for approval without adding atleast one data category ? can I use a custom button "submit for approval" that calls a flow that check first if a data category assigned and then if yes, it will proceed to submit for approval and if no, it will throw an error ? Please advise ? 

also how can I route the approval to different queues based on data category ?