- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2020 09:08 AM
Hi,
It is worth starting off by saying I'm new to VA - I'm trying to understand where "getGreetingMessage" is defined in the below script from the OOB personalized greetings message. As I understand it "getGreetingMessage" must be defined somewhere and it is then passed to the {1} result in the below code which then causes it to appear in the chat bot window. I'd like to understand where it is defined so that I can go in and amend the wording slightly. I understand I could remove it from the below and manually input text however I would prefer to understand how the below is working so I can learn from it.
Solved! Go to Solution.
- Labels:
-
Virtual Agent
- 6,764 Views

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2020 09:15 AM
Hi there,
The getGreetingMessage is just a vaSystem property. In this case, it's using the UI Messages. See below example.
If you would like to change this message, just update the UI Message with Key "Hi, I'm your Virtual Agent. Let me know how I can help you today." > Message field.
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
2020 ServiceNow Community MVP
2020 ServiceNow Developer MVP
---
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
08-11-2020 09:15 AM
Hi there,
The getGreetingMessage is just a vaSystem property. In this case, it's using the UI Messages. See below example.
If you would like to change this message, just update the UI Message with Key "Hi, I'm your Virtual Agent. Let me know how I can help you today." > Message field.
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
2020 ServiceNow Community MVP
2020 ServiceNow Developer MVP
---
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
08-11-2020 09:58 AM
Hi Mark,
Thank you so much that's exactly what I was after! 😄
Rich
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2022 02:34 PM
Hi Mark,
I inherited a slack integration, and when I execute the same topic in both the service portal and in slack, it appears that vaSystem.getTopicSelectionMessage() gets different results.
In the slack client - it gets a sys_property = com.glide.cs.topic_picker_msg
In the service portal (and topic test button) = it uses the Message table as you pointed out.
Why does this happen? What is the logic in this function: vaSystem.getTopicSelectionMessage()?
Thanks.
-Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2022 09:25 PM
I have edited the message still its showing previous one