Variable on catalog item gets wiped when ticket is logged
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-20-2025 06:14 AM
We have a catalog item in development where a user can request amendments to various fields for an Application Service on the cmdb_ci_service_auto table. Then form consists of options to select an option on the service, which will then show the current value as a read-only field, and a blank field for them to choose the new value.
There are two fields that are a reference to a single line text on the Service. The information of these (Short Description and Application Name) shows up on the form itself when filling it in. However, it wipes the information on the ticket when it's logged. It's literally just those two fields, the current value of Application Name and Short Description.
Any ideas what's going wrong here please?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-20-2025 11:19 PM
Can you attach any screenshot if possible
Thanks & Regards
Sejal Chavan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-20-2025 11:37 PM
any script is clearing it?
how are those variables getting filled? auto populated or user is entering it
Please share some details along with screenshots.
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-21-2025 12:31 AM
No scripts on this at all, just Catalog UI Policies hiding the fields if they aren't being changed.
The Current Application Name and Current Short Description are reference fields that are pulling the information from these fields on cmdb_ci_service_auto. These are the only two single line text/string fields within this form - all others are lookups or choice lists and they work absolutely fine.
New App Name and Short Desc are what the user is filling in manually as part of the form.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-21-2025 09:23 PM - edited ‎01-22-2025 06:54 AM
I can see that application name and short description are reference fields , Which table are they referring to. According to me short description should be single line text.
Please make sure that table has only one column set as display 'true' .
If my response helped please mark it correct
Thanks & Regards,
Sejal
Thanks & Regards
Sejal Chavan