How to deactivate Entities permanently?

rm231
Tera Contributor

Hello all, I tried to deactivate demo entities in my instances. But after a few minutes or so, the entities come back and active. How to deactivate the entities permanently? Advanced thanks!

8 REPLIES 8

Jan Spurlin
ServiceNow Employee
ServiceNow Employee

Hey guys - the probable reason the entities are getting regenerated is because there is an entity filter on an Entity Type record that defines them.  Open each of your Entity Types and look at the entity filter - that needs to be changed/deleted if you want the entities to stay gone after you delete them.

 

If you do a hard delete on the entity it will also delete the downstream controls and risks that are related to it.

gk93
Tera Contributor

Hi Jan,

 

There's an build your own condition Filter on the "sn_compliance_grc_profiles" table with conditional "Type is Vendors". If I delete the Entity type association, will that prevent regeneration of the record once deleted? In your other reply (which I greatly appreciate!) you also mentioned the GRC Profile Table, and I've deleted the duplicate from there as well.

Connor Levien
ServiceNow Employee
ServiceNow Employee

Hey @rm231,

 

Is the entity related to an Entity type? OOTB if an entity still meets the conditions of the Entity type's entity filter it will be reactivated. Normally your entity filter have conditions to filter out inactive records in your target table. If there is an attribute on your source table that indicates it is no longer active I would suggest updating the Entity filter to include that and it will no longer reactive the entity.

Community Alums
Not applicable

Thanks everyone for the answer!