Deactivate the HR Profile

Takefumi Muto
Giga Guru

Hi,

Is there a way to deactivate the HR Profile without deleting it?

Thank you.

3 REPLIES 3

AnirudhKumar
Mega Sage
Mega Sage

There is an active field on HR Profile records. But its from the related user record though... you could set that to false. But unfortunately that would prevent the user from logging in...

What I'd rather do is to pick a field like Leave Status on the HR profile and set it to On Leave 

Wessel van Enk
Tera Guru
Tera Guru

Hi Jack,

Out of the Box there is not a way, as the HR Profiles are connected to the Sys User accounts. Basically, it's an extension of the sys_user profile with HR related data. If you de-activate it, it will also de-active the sys_user account and indeed, like Anirudh mentioned, will present the user from logging in to the platform. 

You can for example add an Employment End Date, as this will remove the user from a lot of OOB Queries, but this will complicate as well the maintenance of the sys_user profile. So I would not recommend to de-active the HR profile, separate from the sys_user profile. 

abirakundu23
Mega Sage

Hi @Takefumi Muto ,

There is no way to create HR profile creation, if user profile present, then we can create HR profile from User profile.

But HR profile deactivation is not a best approach if we deactivated then user will be losted their login access. If Your requirement is User profile deactivation as well, then you can follow this approach. Or else you can use Employment End date field, Leave status field in HR profile.

abirakundu23_0-1721546007602.png

Please mark helpful & correct answer if it's really worthy for you.