i want to change the change area for standard change template, i tried using fix script its not work
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Monday
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Monday
your question is not clear
Regards,
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Monday - last edited Monday
Hi @GURUMURTHYG
Try this one:
var producerName = 'Your Template Name Here'; // Name of your producer
var newChArea = 'new_value_here'; // Replace with new change_area value
var grStdChPro = new GlideRecord('std_change_record_producer');
grStdChPro.addQuery('name', producerName);
grStdChPro.query();
while (grStdChPro.next()) {
grStdChPro.change_area = newChArea;
grStdChPro.update();
}
