- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-20-2019 07:21 AM
Hi
How do you find the sys_id for a topic in VA?
I want to get the current VA conversation using "sn_cs.VASystemObject.getTranscriptById(<conversation sysId>)"
But I can't seem to find the conversationID nor run the function at all.
Thanks
/Jonathan
Solved! Go to Solution.
- Labels:
-
Virtual Agent

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-20-2019 07:28 AM
Hi there,
I did try this a few months ago, though didn't found any vaSystem property or something for this. Ended up just adding a Script Variable containing the sys_id of the topic.
The sys_ids for the topics are actually the records in the sys_cs_topic table.
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
---
LinkedIn
Community article list
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-20-2019 07:28 AM
Hi there,
I did try this a few months ago, though didn't found any vaSystem property or something for this. Ended up just adding a Script Variable containing the sys_id of the topic.
The sys_ids for the topics are actually the records in the sys_cs_topic table.
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
---
LinkedIn
Community article list
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-23-2019 03:28 AM
Hi
Thanks. Finding the sys_id in the sys_cs_topic table worked but I am still not able to present the whole conversation in an easy to read format.
I have tried exploring the form layout in the sys_cs_topic table to see if any of the fields presents the conversation but no luck.
How did you present full conversation when you built it in your topic?
Thanks
Best,
Jonathan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-27-2020 11:19 AM
I am getting "java.lang.NullPointerException" error when I put sys_id from any record in the sys_cs_topic table. Can you please help me how it did work for you?