Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Survey Answers from Survey Topic Block

Charlotte Pakes
Tera Guru

I'm creating a new Topic in VA and using the Survey Topic Block to run a survey. I need to get access to the survey answers in the parent Topic. I can see the answers in the test window as a script variable called surveyAnswers but I can't access this variable later in my Topic. I tried following what is described in Solved: Can't get values from object - ServiceNow Community but I'm not having any luck getting the variable value, I'm just getting undefined.

 

Can anyone advise?

1 REPLY 1

Charlotte Pakes
Tera Guru

I can get around this by duplicating the Survey Topic Block and adding an Output for the surveyAnswers variable, but would rather not create a new version of an OOTB Topic Block. Is there any other way around this?