During cloning, are child tables of a parent table that is both a child and parent excluded?

Casper6060
Mega Sage

Hi everyone

 

i'm curious about something with regards to excluded tables.

 

I know if i ask for task to be excluded, it will exclude task, and all it's children like incident and so on.

 

The same if i exclude the cmdb table, it will exclude everything under it.

 

However, what if i exclude cmdb_ci_computer. Because this table i both a child and a parent table.

So would all child tables of cmdb_ci_computer like cmdb_ci_server also be excluded?

 

Because of the way that the database is structured, cmdb_ci_computer is not a "physical" table, only cmdb which is the top parent is a "physical" table, so i 'm curious how exclusion works when a table is both a parent and a child and has it's own children.

 

Hope this makes sense

1 ACCEPTED SOLUTION

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Casper6060 

 

Yes, if a parent has been executed, the child gets executed as well.

*************************************************************************************************************
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

2 REPLIES 2

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Casper6060 

 

Yes, if a parent has been executed, the child gets executed as well.

*************************************************************************************************************
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]

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

Casper6060
Mega Sage

Just to expand on this, i looked at various ServiceNow posts on the forum, and it looks like there was a time where this was NOT the case, but based on what i can read, these days it not functions and described where excluding a table will also exclude that tables children.