Akash Rajput Technology over a cup of coffee

Part 23: Add data broker to save comments

30 sec read

Featured Video Play Icon

Add Data Broker to add comments

  • Goto Data resources
  • Click + Add
  • Search with keyword insert knowledge
  • Select Insert knowledge comment
  • Click Add

Add Event to Nested comments component

  • From the content section, select Nested comments 1 component we created in the last post
  • From configurations, Select event
  • Click + Add a new event handler
  • Select Insert knowledge comment 1 > Execute
    • Comment content – @payload.content
    • Article ID – @context.props.sysId
    • Parent ID – @payload.parentId
  • Click Apply and Save
  • Please check highlighted areas to make sure the configuration is correct


  • Open https://<instance-name>.service-now.com/now/panda_tech/knowledge-article/params/sys-id/f27d7f79c0a8011b0018f9d700d2b9aa
  • Add Comment
  • Navigate to kb_feedback to see if the comment is inserted correctly

Great!! We have successfully added comments to the kb_feedback table. Next Post we will talk about how to refresh data broker with the latest comment we added.

Akash Rajput Technology over a cup of coffee

Leave a Reply

Your email address will not be published. Required fields are marked *

Never miss a story from me, get updates directly in your inbox.