Custom Portal Widget to Display Activity Log

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-07-2019 10:39 AM
I am trying to build a custom activities widget that is similar to conversation but it can include resolution notes and priority changes, instead of just comments and work notes and attachments. My thought was to query the history set but this table by my understanding has to be refreshed because it does not contain the full audit history of all records.
Is there a way I could auto-refresh the history set for the ticket in the server script? I have seen on the internet examples of a 'GlideHistroySet' API but my understanding is this is not supported anymore by ServiceNow? I also understand a potential option is to also query sys_audit, but I have read that this can cause performance issues. Or is there another way to get priority change and resolution notes history in the portal activity log?
I read this post about what I am talking about: https://docs.servicenow.com/bundle/london-platform-administration/page/administer/security/concept/c...
So I guess my question is, is there a way to trigger a "generate" on a history set for a record using Javascript.
- Labels:
-
Service Portal Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-09-2023 10:06 AM
Hi Chris,
Did you ever figure this out?? I would like to also add additional fields to the activity tab in SP. Any help would be great.