How to automatically register values in a variable set on the portal form screen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2026 02:29 AM
I've created a function that retrieves values from a portal record form and copies them to a catalog item input form.
The values are retrieved from the form screen and set in the input form using a catalog client script.
A variable set has been implemented in the input form.
Is it possible to set values in the variable set using a catalog client script?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2026 02:38 AM
if your catalog client script is running on catalog item or applies on variable set, it should still set the variables
share your scripts and screenshots
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2026 06:32 AM
Hi @bonsai ,
Could you please explain - what do you mean by "portal record form" ?
If using catalog client script you can copy the value in input form variable, why not Variable set.. it is also part of catalog form input .. It should work.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti