Instance Cloning -- Notifications disablen?

simonvolkwe
Tera Expert

Hello together,

 

I have a question about cloning from a LIVE instance to a DEV instance.

 

In this article, which describes post-clone and pre-clone activities very well, it says that I should disable notifications before cloning.(Post-Cloning Checklist - Support and Troubleshooting)

Why is that?

 

Since I am cloning to a dev instance where notifications cannot be sent by default, I can theoretically leave it out, right?

 

Thanks in advance, and if you have any experience or tips regarding cloning and what to look out for, or what is often forgotten with preserver/excluded records, please feel free to write.

 

Greetings

Simon

1 ACCEPTED SOLUTION

Hi @simonvolkwe 

Did you get a chance to look at the OOTB post-cleanup scripts?

 

 

DrAtulGLNG_0-1754906340238.png

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

View solution in original post

10 REPLIES 10

Ankur Bawiskar
Tera Patron
Tera Patron

@simonvolkwe 

In production email sending and receiving is enabled.

When you clone PROD -> DEV the email properties will be marked as True and emails might be sent out from DEV instance which is not recommended.

-> there could be active emails in email logs in PROD and if they get cloned to DEV then those emails might be sent out.

-> notifications from DEV might confuse users.

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

Hanna_G
Kilo Sage

Hi @simonvolkwe 

As part of cloning it disables email sending.

A dev/test instance can send email notifications - by enabling the sending policies - best practice would be to create a shared mailbox to send the notifications to for any testing scenarios. This is why the clone process disables this. 

If you don't use emails in Dev/test environments then you don't need to re-enable post clone. 

Hope this helps!

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @simonvolkwe 

Sending emails from the Dev environment is not recommended, as it can confuse users. Also, after a clone, make sure to check that email properties in Dev are disabled, since they get copied from Prod.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

simonvolkwe
Tera Expert

Hello, 

 

Thank you for your fast replys.

 

So I should create a postclone script to disable this property in the source (LIVE) instance and a preclone script to enable it again after successfull cloning.

 

Or is this already configured by default?

 

Greetings

Simon