Can we deactivate an HR profile without deactivating the user?

shawnbaar
Giga Expert

Greetings!

We are implementing the HRSD and wanted to know if there was a way that we might be able to deactivate an HR profile on the sn_hr_core_profile table for a user without deactivating the user on the sys_user table as well? We occasionally have employees who technically 'leave' to work for contractors, but are still active users of the system as employees of the contractor. They no longer need an HR profile (i.e. consume a license), but need to be able to access the system (those count against the ITSM licensing in this use case).

Any feedback is greatly appreciated.

 

Thanks,

Shawn

 

1 ACCEPTED SOLUTION

Michael Ritchie
ServiceNow Employee
ServiceNow Employee

The HR Profile (sn_hr_core_profile) table does NOT have an active attribute.  The one you may see on the form is actually a "dot-walked" field from the linked sys_user record so if you uncheck it, it deactivates the user.

HR licensing is based on the employment start date and employment end date values.  When the audit report is run it finds all HR profiles where the report date is valid between those two dates (or a null employment end date).  So in your situation you would need to set the Employment end date accordingly.

If you have any further licensing questions, it is best to ask your sales account team.

 

Please mark any post as helpful or the correct answer to your question if applicable so others viewing may benefit.

View solution in original post

6 REPLIES 6

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Shawn,

yes that should be fine

I don't see any harm in doing this as both are separate tables

If my answer solved your issue, please mark my answer as Correct & 👍Helpful based on the Impact.

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Michael Ritchie
ServiceNow Employee
ServiceNow Employee

The HR Profile (sn_hr_core_profile) table does NOT have an active attribute.  The one you may see on the form is actually a "dot-walked" field from the linked sys_user record so if you uncheck it, it deactivates the user.

HR licensing is based on the employment start date and employment end date values.  When the audit report is run it finds all HR profiles where the report date is valid between those two dates (or a null employment end date).  So in your situation you would need to set the Employment end date accordingly.

If you have any further licensing questions, it is best to ask your sales account team.

 

Please mark any post as helpful or the correct answer to your question if applicable so others viewing may benefit.

That's exactly the information we needed!  Much thanks!

Hi, just be careful: the ootb logic is a scheduled job that runs every day at 3am system time and processes the "Client Role Assignment Roles".

The ootb one checks if the end date is in the past and would then add / remove the respective roles. I am not sure how the audit report exactly works, so you may want to double-check that your HR Profile / Job end date aligns with the actual roles that are assigned to your users.

🙂 Christian

 

Feel free to click "helpful" or "correct" if that is appropriate, thanks!