Fetch Dynamic Value in Survey questions

Community Alums
Not applicable

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. 

 

ankithas_0-1699460406351.png

 

 

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.

ankithas_0-1699459573170.png

 

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. 

 

ankithas_2-1699460048863.png

 

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.

0 REPLIES 0