Hi everyone. I am completely exhausted to achieve below requirement: I have on custom checkbox field (called "Notify customer") on Knowledge object ( Knowledge__kav) and I want to update it whenever Knowledge record is Published (Publication Status =Published). NOTE: I am admin not developer so I do not know coding (APEX, LWC etc) I am looking for declarative approach if possible. and the action should be in Single click (not in two or more click). I have gone through all other relevant community post. @Trailblazer Community Cove@Admin Group, Tunis, TN@* Experience Cloud *
Salesforce Knowledge uses two main objects under the hood:
--> Knowledge__kav (the actual article version record)
--> KnowledgeArticleVersion (metadata for the version, including status like Draft, Online/Published)
1. When we edit a published article as draft:
--> Salesforce actually creates a new draft version of the article.
--> The published version remains unchanged.
--> Our before-save / after-save flow on the published version does not trigger, because we are working on a new draft record.
2. When we publish that draft:
--> Salesforce changes the PublishStatus of the draft to Online.
--> But this Publish action does not count as a record save/update for flows or triggers.
--> This is why even after editing and publishing, our record-triggered flow on Knowledge__kav does not run.