- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2024 12:58 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2024 01:17 PM
Hi @KS13 ,
Please try the autopopulate functionality in servicenow where u can just do this work without using a single code.
Autopopulate feature works from Utah version.
Please check this link for detailed steps
Thanks,
Danish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2024 03:49 PM
you cant have cat.variable/field name having upper case letters in the "system" name.Also,not best idea using catalog client script when you can use "auto populate" -super easy to use and mega fast performance wise.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2024 02:12 PM
@KS13 : Can you share the screenshot of the script and the configuration. Make sure that you set the field name correctly on the on-change client script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2024 03:49 PM
you cant have cat.variable/field name having upper case letters in the "system" name.Also,not best idea using catalog client script when you can use "auto populate" -super easy to use and mega fast performance wise.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2024 09:47 PM
Hi @KS13
Just to be clear with the requirement, you want to auto-populate LOB field on change of app_mne field provided the value of app_mne field changes to 'Abc_can' ?
If yes, what is the value you want to set to 'LOB' field ?
Thanks & Regards
Amit Verma
Please mark this response as correct and helpful if it assisted you with your question.