- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2025 03:32 AM
Hello Community,
I need to automate the variable creation of the catalog item
If anyone know the refer video or the wiki, please share, it would be helpful
Thanks,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2025 07:29 PM
In that case you can have 1 excel with multiple columns and have 1 transform map and handle everything via onBefore transform script
1) in that transform script, create catalog item, create variables and link with your catalog item
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
06-21-2025 05:11 AM
who will send the data for the variable name, type etc?
what's your actual business requirement?
Why to create variables via transform map?
check this and enhance as per what comes in your import set table from 3rd party
Transform Script for Variable Set and Catalog Items
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
06-21-2025 07:05 AM
Hi @Ankur Bawiskar,
As per the requirement there will be more catalog item per sprint to develop, Per sprint we will be having 20 items where one catalog item contains the 70-80 variables and also there will be the min 10-15 Ui policies as well. So I'm planning to automate this monotonous thing where I can reduce the creation if I automate Catalog item excel sheet.
and for the link which you have sent, is for adding the variableset to the catalog item
if there are wiki pages for creating variables using the transform Map, Can you please share
Thanks in Advance !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2025 07:29 PM
In that case you can have 1 excel with multiple columns and have 1 transform map and handle everything via onBefore transform script
1) in that transform script, create catalog item, create variables and link with your catalog item
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
06-27-2025 01:22 AM