Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

ServiceNow Cleanup

VaibhavR0262274
Kilo Contributor
I’m looking for ServiceNow‑recommended best practices for identifying and cleaning up obsolete Business Rules, Scheduled Jobs, and Flows.
Not just only specific overall ServiceNow Cleanup
4 REPLIES 4

Mark Manders
Giga Patron

Don't delete OOB ones, even if they are inactive. They will come back (active!!) on patches/upgrades and that can cause very weird issues.

Just clean up everything that is inactive and check the execution records of flows to see if/when they are used (or not). Same with scheduled jobs.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

VaibhavR0262274
Kilo Contributor

Hi @markmanders,

 

Thank you for you'r response on my question.
i want to ask how to do cleanup with unused data as well as how to find.

That really depends on your definition of 'unused data'. Retired CIs or assets aren't used anymore. But deleting them could cause issues with reporting. Same with offboarded users.

 

You could look at groups/locations/departments that don't have any users to it, but still, if a location isn't used on the platform but still is a real location your company is providing services for/from, you need it there because it is something that can be necessary to use at some point.

I don't know your instance, nor your data, so it is impossible to tell you how to find unused data without your definition of 'unused'.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

Tanushree Maiti
Kilo Patron

Hi @VaibhavR0262274 

 

Sharing my experience on it . Hope it will help you.

 

Regarding BR :

1. a. Look for business rules - custom ones using created by

   for us created by saved as email id.

  So we search  using created by contains '@' by which we can ensured about custom one

 

b. Then we check those table where BR has defined. Check if last 1 year any data has inserted where that BR has been applied.

 

c. In this cleaning, any resource (long timer) who knows E2E very useful as they know which application working or which stopped working.

 

Regarding scheduled Job: 

1. Check if any one has been deactivated. If yes what is last updated showing. 

 

Regarding Flow :

1.Refer: https://www.servicenow.com/community/developer-forum/flow-cleanup/m-p/3300307/page/2

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin: