Entity Class error 'Cannot have several roots' but there are already two

Asia2
Tera Contributor

Hi, I have an issue with seting up an entity class structure. I want to have a simple parent-child relationships for the classess for locations like region - country - city, but I cant do it because then I would need to set the 'Region' class as root. When I want to select the checkbox the 'Cannot have several roots' error pops up, but there are already twho entity classess marked as root on the instance. On the other instance I can see the relationships set up without selecting the parent class as root.

I couldnt find anything about it in the docs. Could someone advise?

 

Thank you!

2 REPLIES 2

GouthamAnumolu
ServiceNow Employee
ServiceNow Employee

hi @Asia2  , we cannot have multiple classes as root in the system. Did you import the entity classes ?

Prasanna_Patil
Tera Guru

Hi @Asia2 

we cant make multiple entities as root.

Instead update the "Region's" Parent class with the entity which is having "is root"=True. post this you can update the parent-child relationship with other entities

 

Please refer below screen shot as reference

Prasannap20_0-1712404818143.png

 

Please hit like and Mark Helpful if you liked it
Regards,
Prasanna