cleanup scripts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-04-2018 05:03 PM
Cleanup script didn't run but when ran as background script, it did what it is expected to do. Any ideas why?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-04-2018 05:19 PM
Was your cleanup script in the source instance (Production if you are cloning down)?
The cleanup Script table is not preserved.
If the script does not exist in the source instance, it will be deleted as part of the clone and alas cannot run.
If this is not the case, please post your script.
ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-05-2018 11:01 AM
I did check the cleanup script got into sub prod environments
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-04-2018 05:50 PM
How did you attempt to run the clean up script, and what (precisely) happened?
Anything show up in the system logs?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-05-2018 11:01 AM
THe clean up script is trying to give grants to certain groups in sub prod environments. When I run as a backgorund script, it worked, but didnt show effect after the clone was done.
I ran it based on checking is the instance was dev or test etc.