How to add sn_hr_core.admin role to admin role?

hickoryal
Giga Contributor

Hi,

While testing roles, I accidentally removed sn_hr_core.admin from admin role as admin.

Please find the below screen shot admin role with sn_hr_core.admin

find_real_file.png

Now, when I try to add the sn_hr_core.admin as admin, I do not find the role name in the available roles list.

find_real_file.png

When I try to retrieve the role information from sys_user_roles,   this row is removed by security constraints.

find_real_file.png

Can anyone tell me how to add the sn_hr_core.admin role back to admin role?

4 REPLIES 4

Pradeep Sharma
ServiceNow Employee

Hello Sateesh,



If you have this role->user mapping on another instance, then you can export and import the XML file. I think that should work. If not please raise an HI ticket. Customer support can help you out with this issue.


Thank you Pradeep.


I will try that.



On Fri, Sep 1, 2017 at 1:33 PM, pradeepksharma <


SanjivMeher
Mega Patron

Hi Sateesh,



Please check System Definition->Deleted Record. The deleted record should be there and you should be able to restore it.


christine Bates
Tera Contributor

 How do I add sn_hr_core.admin role to my profile if I never had it but like the above screenshots show, it is not appearing/visible to me from the Roles list?