Tick Conversation Widget Not Showing All Activity

stevejarman
Giga Guru

I'd like the Ticket Conversation widget to show ALL activity that's viewable on a ticket when looking at the Platform view/form. I'm finding though that the status changes, email updates, etc don't show up (i.e. the "automatically generated" stuff). I've noticed that these entries also have a different colour (light grey) in the Platform view, so there's some sort of flag or type on them that's different.

I've gone over the widget code but can't spot the problem. Does anyone know why these entries don't show and how to make them show?

PLATFORM:

1.png

SERVICE PORTAL - TICKET CONVERSATIONS:

2.png

11 REPLIES 11

ChrisBurks
Mega Sage

Hi Steve,



The Ticket Conversation widget only looks for journal entries (sys_journal_field). Whereas the Activity displays more than different types of entries such as updates to the state or "assigned to" fields.



activity_choices.png



If you navigate to the sys_journal_field table and search by the element id which is the sys_id of the record, you will more than likely only see entries from work_notes or additional comments. Which these would really be considered "conversations" as most of the time they stem from either a user/fulfiller entering comments or a fulfiller entering work notes.



journal_fields.png



And a screenshot of the Ticket Conversation widget primarily looking for the journal entries:


ticket_converstation_widget.png


When you say the Ticket Conversation Widget though, it's really the GlideSPScriptable getStream function? To me it appears that that function specifically only returns "Work Notes" and "Additional Comments" fields. Perhaps it is using sys_journal_field. I assumed it was looking at sys_audit maybe.


I'm using a Jakarta instance for the screenshots. It's possible that in an earlier version the $sp.getStream function did more. But I had the script console log out the stream and if you look at the screenshot, the only entries it's collecting are journal entries: (green is whole getStream object and red indicates the entries and journal checks)



getStream.png


HI Chris,


I do have the same question like what Steve has here, Your explanation is helpful in understanding why activity isn't available on Portal widget.


However It would answer most of the developers looking for "HOW" to get entire activity as is in Portal- Ticket conversation widget.


Did you tried any solution for same?



Thanks,