Autopopulate field value
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-05-2025 09:51 AM
I have created 3 variables in a catalog item one is cloud account name, and another is cloud ops support group which are from same table If I choose a cloud account name then the other field is autopopulated now the problem if the data in the backend is missing if a cloud account does not have support group then I can select it manually a group then its not visible in RITM form its showing empty.
What is the reason how to solve this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-05-2025 10:32 AM
Hi @kirankr2061 ,
if you have created onChange client script for this
simply uncheck Applies on catalog task and Requested item
if it's a record producer uncheck run on the target record
OR
use
if(isLoading){return;}
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Chaitanya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-09-2025 06:14 AM
you must be using the auto populate feature and hence it might be causing the issue.
Did you try to use onLoad GlideAjax which works only on Catalog Item view and brings the value from script include and set the value?
If the value is not present user can select or type in and once RITM is generated that value should be present on the form in the variable.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader