How to deactivate Entities permanently?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2022 06:50 PM
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2022 07:03 PM
HI
Please look into the sn_grc_item_generation table. Set the 'running' status to complete for the entity part of the entity type you are cleaning up.
Also, refer to this thread :https://community.servicenow.com/community?id=community_question&sys_id=a564fe3fdb9858102be0a851ca96...
Mark my answer correct & Helpful, if Applicable.
Thanks,
Sandeep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-21-2022 07:52 PM
Thanks, Sandeep. sn_grc_item_generation is empty in my instance. What is the workaround for this? Advanced thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2023 03:40 AM
Hello @Community Alums and @Community Alums , I'm in the same boat currently. sn_grc_item_generation table is empty, but when I delete the Entity record it gets regenerated by "GRC audit daily data run" scheduled job or "GRC Daily scheduled data collection job"
Do either of you know how I can delete the Entity record permanently without it being generated with the next scheduled job run?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2023 08:49 PM
Hi @rm231 ,
Hi @gk93 ,
Even if you delete it from Entities, it won't get deleted as you have to delete it from the source table.
As if you can check on Entity filter, you are using a table where your entities are coming from. So, to meet your requirement, either you delete it from the table itself(which is not recommended as you might be using that somewhere else) or second approach is you can limit it in the entity filter itself.