- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-09-2020 10:40 AM
Hi,
I wanted to remove the users from the role "knowledge" but the inheritance was true so, I used a background script to update the inheritance to false. But while using a background script I made a mistake in Encoded query because of which inheritance value got changed to "false" for many users.
I'm not getting how to revert it back. Or else I'll have to use update all?
Can anyone help me to understand the impact on roles inherited from the group. Is there any way to revert it back?
Thanks in Advance!
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-09-2020 10:53 AM
Hi Suresh,
Please check if Rollback and Recovery option works https://docs.servicenow.com/bundle/orlando-platform-administration/page/administer/table-administrat.... If not the other possible solution is to import it from another instance (*cloned).
-Pradeep Sharma

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-09-2020 10:53 AM
Hi Suresh,
Please check if Rollback and Recovery option works https://docs.servicenow.com/bundle/orlando-platform-administration/page/administer/table-administrat.... If not the other possible solution is to import it from another instance (*cloned).
-Pradeep Sharma

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-09-2020 10:56 AM
Hi suresh
following is the block of best practice to how to manage the inheritance of role.
If it help mark helpful or correct
Thanks and regards
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-10-2020 02:14 AM
Hi Pradeep,
I have used the Rollback and Recovery option to revert the executed background script. This worked for me.
Thanks for the suggestion!
Kind Regards
Suresh

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-10-2020 02:28 AM
You are very welcome. Thank you for participating in the community.
- Pradeep Sharma