We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Using variable in question label

mikeriley
Tera Contributor

Hi all,
I have a some questions in a form that I would like to use variables that have been set earlier in the form to build the Label.

ex:  
"Please select your ${VariableName} from the drop down"

Not quite sure how to do this or what the syntax should be?

3 REPLIES 3

Dr Atul G- LNG
Tera Patron

Hi @mikeriley 

 

Are you looking to display a variable message in a popup or on a form? If so, do you have any screenshots for reference?

 

In pop-up message, yes you can, but I doubt form level we can do it.

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG

****************************************************************************************************************

Hi @Dr Atul G- LNG 
I'm trying to use a previously set variable in a question label to show the user what type of data they are going to be selecting.  Thanks for your help!

mikeriley_0-1743510961804.png

 

Hi @mikeriley 

 

I dont think it is easy to do, 

 

https://www.servicenow.com/community/developer-forum/service-portal-widget-grabbing-variable-value-o...

 

@Medi C  any help here.

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG

****************************************************************************************************************