<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question ServiceNow: Extract Flagged Work Notes and Activity Log Data in a Report in Community Central forum</title>
    <link>https://www.servicenow.com/community/community-central-forum/servicenow-extract-flagged-work-notes-and-activity-log-data-in-a/m-p/3588016#M7720</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I’m working on a requirement to create a Legal Request report where users should be able to include only the flagged Work Notes from the Activity Log.&lt;/P&gt;&lt;P&gt;So far from my investigation:&lt;/P&gt;&lt;P&gt;Flagged Work Notes are stored in the OOB sys_activity_supplemental table.&lt;BR /&gt;The relevant fields in this table are:&lt;BR /&gt;Payload – contains values such as "api_version":"1" and "flag":true, which indicates the activity is flagged.&lt;BR /&gt;Event ID(string type) – references the sys_id of the journal entry(sys_journal_field).&lt;BR /&gt;Document ID(string) – references the element_id in the&amp;nbsp;(sys_journal_field) table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using these fields, we can establish the relationship between the flagged activity, the journal entry, and the related record.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Current approach :-&lt;BR /&gt;I created a custom table to establish the relationship between sys_activity_supplemental and the Journal table.&lt;BR /&gt;I then created a report on the custom table.&lt;BR /&gt;With this approach, I am able to extract the flagged Work Notes.&lt;/P&gt;&lt;P&gt;However, I’m looking for an alternative OOB/best-practice approach, if one is available.&lt;/P&gt;&lt;P&gt;**Additional requirements**&lt;/P&gt;&lt;P&gt;There are some additional requirements that the current approach does not fully address:&lt;/P&gt;&lt;P&gt;Assess the feasibility of extracting other Activity Log information based on the activity types selected in the filter, such as:&lt;BR /&gt;Additional Comments&lt;BR /&gt;Attachments&lt;BR /&gt;Other Activity Log entries&lt;/P&gt;&lt;P&gt;Also the extracted Work Notes should be plain text without HTML tags.&lt;BR /&gt;Currently, when Work Notes are extracted, they contain HTML tags/formatting that needs to be removed.&lt;BR /&gt;Ideally, the solution should support the Activity Log filtering requirements without maintaining a separate custom table.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Is there any OOB functionality, reporting approach, or recommended architecture that can achieve these requirements without creating a custom table?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In particular, I’m interested in knowing how others would approach:&lt;/P&gt;&lt;P&gt;Identifying flagged Work Notes from sys_activity_supplemental.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Using Event ID → Journal sys_id to retrieve the corresponding journal entry.&lt;BR /&gt;Using Document ID → Journal element_id to identify the related record.&lt;BR /&gt;Extracting additional Activity Log information such as Additional Comments, Attachments, etc.&lt;BR /&gt;Applying the same activity filtering available in the Activity Log.&lt;BR /&gt;Converting the extracted Work Notes to plain text without HTML.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The custom-table approach works for extracting the flagged Work Notes, but I’m not sure if this is the recommended solution, especially considering the additional Activity Log requirements.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone implemented something similar or can suggest a better OOB/best-practice approach?&lt;/P&gt;&lt;P&gt;Any suggestions would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 17 Aug 2026 13:07:05 GMT</pubDate>
    <dc:creator>AmrutaP79040408</dc:creator>
    <dc:date>2026-08-17T13:07:05Z</dc:date>
    <item>
      <title>ServiceNow: Extract Flagged Work Notes and Activity Log Data in a Report</title>
      <link>https://www.servicenow.com/community/community-central-forum/servicenow-extract-flagged-work-notes-and-activity-log-data-in-a/m-p/3588016#M7720</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I’m working on a requirement to create a Legal Request report where users should be able to include only the flagged Work Notes from the Activity Log.&lt;/P&gt;&lt;P&gt;So far from my investigation:&lt;/P&gt;&lt;P&gt;Flagged Work Notes are stored in the OOB sys_activity_supplemental table.&lt;BR /&gt;The relevant fields in this table are:&lt;BR /&gt;Payload – contains values such as "api_version":"1" and "flag":true, which indicates the activity is flagged.&lt;BR /&gt;Event ID(string type) – references the sys_id of the journal entry(sys_journal_field).&lt;BR /&gt;Document ID(string) – references the element_id in the&amp;nbsp;(sys_journal_field) table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using these fields, we can establish the relationship between the flagged activity, the journal entry, and the related record.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Current approach :-&lt;BR /&gt;I created a custom table to establish the relationship between sys_activity_supplemental and the Journal table.&lt;BR /&gt;I then created a report on the custom table.&lt;BR /&gt;With this approach, I am able to extract the flagged Work Notes.&lt;/P&gt;&lt;P&gt;However, I’m looking for an alternative OOB/best-practice approach, if one is available.&lt;/P&gt;&lt;P&gt;**Additional requirements**&lt;/P&gt;&lt;P&gt;There are some additional requirements that the current approach does not fully address:&lt;/P&gt;&lt;P&gt;Assess the feasibility of extracting other Activity Log information based on the activity types selected in the filter, such as:&lt;BR /&gt;Additional Comments&lt;BR /&gt;Attachments&lt;BR /&gt;Other Activity Log entries&lt;/P&gt;&lt;P&gt;Also the extracted Work Notes should be plain text without HTML tags.&lt;BR /&gt;Currently, when Work Notes are extracted, they contain HTML tags/formatting that needs to be removed.&lt;BR /&gt;Ideally, the solution should support the Activity Log filtering requirements without maintaining a separate custom table.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Is there any OOB functionality, reporting approach, or recommended architecture that can achieve these requirements without creating a custom table?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In particular, I’m interested in knowing how others would approach:&lt;/P&gt;&lt;P&gt;Identifying flagged Work Notes from sys_activity_supplemental.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Using Event ID → Journal sys_id to retrieve the corresponding journal entry.&lt;BR /&gt;Using Document ID → Journal element_id to identify the related record.&lt;BR /&gt;Extracting additional Activity Log information such as Additional Comments, Attachments, etc.&lt;BR /&gt;Applying the same activity filtering available in the Activity Log.&lt;BR /&gt;Converting the extracted Work Notes to plain text without HTML.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The custom-table approach works for extracting the flagged Work Notes, but I’m not sure if this is the recommended solution, especially considering the additional Activity Log requirements.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone implemented something similar or can suggest a better OOB/best-practice approach?&lt;/P&gt;&lt;P&gt;Any suggestions would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Aug 2026 13:07:05 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/servicenow-extract-flagged-work-notes-and-activity-log-data-in-a/m-p/3588016#M7720</guid>
      <dc:creator>AmrutaP79040408</dc:creator>
      <dc:date>2026-08-17T13:07:05Z</dc:date>
    </item>
  </channel>
</rss>

