Signle line text variable is not visible on the ESC form

ArpitaVK
Tera Expert

I have a single-line text-type question on the record producer. It is active and mandatory. When clicked on try it, the question displays on the form. But when I opened the form in ESC, the question was not displayed, but was shown under the "required information" section.  I tried some ways:

1. I cleared the cache, and it still didn't work. 

2. I checked for UI policies or client script on the form, but there is none.

3. I created another variable with a similar Question and the same configuration and made the original variable inactive. Still, it didn't work. I tried changing its order, making it inactive and active again, checking and unchecking the mandatory checkbox.

4. I created a new variable 'Test' with the same configuration and kept its order at the highest. That time it was visible on the form. So, I changed its order to a lower number, and it was still visible. Then, I changed the question somewhat similar to the original one. Now, it is again hidden from the form, but it is shown under the 'Required information' section.

5. I compared the new and original variable for the configuration with other variables on the same record producer with the same field type, and everything looks fine.

6. I also added container start and container end variables to check if the variable is visible after that.

None of the above ways worked for me. If anyone has encountered a similar issue before, your help would be highly appreciated.

3 REPLIES 3

Ankur Bawiskar
Tera Patron

@ArpitaVK 

Try creating fresh variable and don't include in any variable set. Delete the older one.

Ensure the variable name is unique and don't repeat it

💡 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  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Ankur Bawiskar, I deleted the older variable and created a fresh variable. But still it didn't show up on the form. I tried changing the variable type, but it didn't work either.

@ArpitaVK 

same behavior with single line text variable on other catalog item?

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