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.

Dynamic values in survey questions

Caleb Fair
Kilo Expert

I am not finding clear instructions on how to dynamically auto-populate a value in a Survey question.  

I am trying to create two surveys: The first one is sent to all mangers and the second one is sent to the managers about their direct reports.

I want to auto-populate either the person's direct report's name or the manager's name respectively.  

I was able to get '${param}' to appear in the question and selected the 'Source field' which is point to the sys_user table. 

However, '${param}' is still not being substituted with the value I want. 

Would anyone be able to see what I need to do to get this working?

---------------------------------------------------------------------------------

Screenshot 1: Native view of the Survey - Source table is what I want

find_real_file.png

Screenshot 2: Question with ${param} listed and the Source field pointing to a reference field which lives on sys_user

find_real_file.png

Screenshot 3: My trigger which is also pointed to the same table as Screenshot 1

find_real_file.png

1 REPLY 1

Ct111
Tera Sage

Hello check response of allen in below link

https://community.servicenow.com/community?id=community_question&sys_id=79413db4db215c1014d6fb2439961923

 

Mark my ANSWER as CORRECT and HELPFUL if it helps