- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-20-2021 04:01 AM
Hello,
I'm searching for a way to copy/clone standard change request templates. Use-cases are the following:
Move large number of standard change request templates from one SNOW instance to another.
Create new template based on the existing one (in our case templates differ only with 2-3 fields).
I see that there is a functionality to export template to xml, but I can't find how to import it back.
Thanks and Best Regards,
Philip
Solved! Go to Solution.
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-21-2021 03:04 AM
Philip,
That's great! Can you mark my response correct if this has resolved the issue?
Thanks,
Pushpa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-20-2021 04:50 AM
Try this script:
var temp = new GlideRecord('std_change_record_producer');
temp.addEncodedQuery('name=Add network switch to datacenter cabinet');// Add Query as required
temp.query();
while(temp.next()){
temp.name = 'Clone Of-' +temp.name;// You can have any field here which you want to be updated
temp.insert();
}
Thanks,
Pushpa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-21-2021 02:58 AM
Thanks Pushpa. Works!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-21-2021 03:04 AM
Philip,
That's great! Can you mark my response correct if this has resolved the issue?
Thanks,
Pushpa