We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Variables are not appearing under Variables names drop down in Catalog client script.

Neelavathi M
Tera Contributor

Hi All,

 

Have to create onChange client script so ,under Variable name drop down, not able to see variables(there are 30) to choose , and it is a record producer.

 

Attached the screen shot refernce.

I just tried by creating new  single line text variable , i am able to see under drop down, not the older existing varibales, can anyone please suggest what is the cause for this issue.

 

Thanks in Advance, Appriciate your help.

 

 
 

 

10 REPLIES 10

Hi @Ankur Bawiskar ,

 

I just checked with developer who created record producer, they confirmed that variables were not visible before as well.

@Neelavathi M 

happening with only this record producer or all record producers?

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

@Ankur Bawiskar ,

yes only with one record producer.

@Neelavathi M 

so earlier 30 variables cannot be seen but new one if you create then it's visible in drop down?

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

@Ankur Bawiskar , yes correct.