sn_hr_core.admin role was removed from Admin. Now unable to add it again. (2024)
Hi, my understanding is that the role will need to be applied via a user account that already has thesn_hr_core.admin IEyou need to login (not impersonate) a user with thesn_hr_core.admin role and should then have the ability to reapply the role to your admin user - to make it easy may need to give thesn_hr_core.admin user 'admin' rights first.
If you are still having issues and it is a commerciallysupported instance, you can always log a support request with ServiceNow and ask them to apply the role to your admin user.
The only possible solution was to call ServiceNow and ask them to add the user to the the role. If a scoped app role is removed from admin without assigning that role to atleast one user, then there is no way to add that role again and only ServiceNow support can do by logging in via maint account.
The HR Administrator [sn_hr_core. admin] role is contained in the System Administrator [admin] role. The combination of these two roles allows a user to perform all tasks associated with configuring your system. For any HR implementation it is always good to start with the guided setup.
To assign a role to a User, use the All menu in the main ServiceNow browser window (not Studio) to open User Administration > Users. Open a User record from the list. Scroll to the Roles related list and click the Edit... button.
Admin: This role has special access to all system features, functions, and data because administrators can override ACL rules and pass all role checks. ITIL: Assigned to regular IT support staff, lets them read and write application data such as incidents, problems, and changes.
Navigate to All > User Administration > Users and then open a user record. In the Roles related list, select Edit. In the Collection list, select the desired roles, and then select Add. Select Save.
g_user.hasRole(' ') :- this method return true if the current logged in user has the role which we have provided in (' ') section., otherwise false.it will always returns true if the user has the 'admin' role.
A ServiceNow Administrator is responsible for addressing a range of service demands that customers submit to businesses. Customers' requests must be followed up on and resolved by ServiceNow Admins. ServiceNow administrators can set up the system in a business unit in various ways to meet the company's demands.
Introduction: My name is Dean Jakubowski Ret, I am a enthusiastic, friendly, homely, handsome, zealous, brainy, elegant person who loves writing and wants to share my knowledge and understanding with you.
We notice you're using an ad blocker
Without advertising income, we can't keep making this site awesome for you.