Dynamic input in Virtual Agent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-02-2024 10:10 PM
Hi all,
I need help in one use case. In Virtual agent we need to provide user a option to select which will come dynamically from the table.
Detail:
We are showing some topics from Employee Center in our Virtual Agent and As We have connected content for the topics, so we need to display all the connected content from the topics which is available in portal. But instead of statically defining the catalogs mapped to the particular topic we need to show directly from the table. How can we achieve this?
Thanks
Vedant

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-02-2024 10:12 PM
Hi there,
Have you tried quering the table and displaying those results? What's the issue that you run into doing that?
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
‎01-03-2024 02:58 AM
Hi @Mark Roethof
I tried with Querying with below code:
But continuously i am getting error that I have technical Issue in Virtual Agent. AT the same time I am running it in Background script I am getting Proper Output.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-03-2024 04:26 AM
When running into the message "I'm having a technical issue", in most cases their is valuable information written to the logs. What information is the logs providing you?
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
‎01-03-2024 04:31 AM
Are you using a Dynamic Choice user input? If so, the expected format is a value + label. Also see the example code in the Dynamic Choice script.
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field