Fetch Dynamic Value in Survey questions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2023 05:29 AM - edited 11-08-2023 08:24 AM
Hi All,
I have a requirement where I have to dynamically populate the category of the topic to populate in either the introductory message or the survey question asked to the user.
When a survey gets triggered to the user, the first question should be like below.
1. How was the experience chatting with [ Topic category] today?
Topic category is the category of the topic which the user is currently accessing. Please find the screenshot of the topic category which is configured in "Properties" for a topic.
Is there a way to call this in survey definition?
I have tried the below following steps which didn't work as expected:
1. For the survey definition created in "asmt_metric_type" table, I have added the Source table as "Topic Category" as indicated in the screenshot below.
2. Secondly, I have also added the source field in "asmt_metric" table for Survey Question to Category table as shown in the screenshot below.
Both step 1 and step 2 didn't give me the dynamic value of the topic category when the survey is triggered after the end of the topic in Virtual agent.
Can somebody help me with this requirement.