need background script to close change and update comments

great
Kilo Contributor

Hi Team,

I want to close 105 changes with additional comments" change closed manually". Please let me know the background script 

12 REPLIES 12

@great 

Did you get a chance to check the script I shared?

Just ensure you give the valid change numbers in the list which you want to update

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Hi Ankur

but I thought It would be an tedious thing to add around 105 Records.

what we can do to add filter those Records?

Thanks

 

 

Hi,

There can be 2 ways based on what is required

1) if the filter condition to be applied is known then better to use that in query

OR

2) if they have list of CHG numbers then just use them and iterate

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader