platform icon indicating copy to clipboard operation
platform copied to clipboard

Inactive employees should not appear in HR module

Open AbigailDawson opened this issue 1 year ago • 9 comments

Problem: Inactive employees (who have been removed from workspace) still appear in the HR module as employees, which is undesirable for teams using HR to manage current/active employees.

Proposed solution: We should hide inactive employees from the HR module.

Raised in community: https://hulycommunity.slack.com/archives/C06BJD10YBC/p1745472227590719

AbigailDawson avatar Apr 24 '25 13:04 AbigailDawson

Connected to Huly®: UBERF-10349

huly-github-staging avatar Apr 24 '25 13:04 huly-github-staging

No, it’s much more complicated. An employee is usually inactive only in two cases:

  1. A mistake (for example, if one user has two accounts — in this case, they should be merged, not simply removed).
  2. The employee was terminated. In this case, the employee must remain in the HR module even after being kicked, at least until the end of the current period (months, quarters, or years), as this may be very important for the accountants.

BykhovDenis avatar Apr 25 '25 10:04 BykhovDenis

Denis Bykhov Oh okay, so it seems it’s intentional to show the inactive employee (in this case kicked employee) in HR? I made this issue based on discussion in a chat thread, Andrey Sobolev said HR doesn’t handle removed employees properly, and Andrey Platov said to assign to Anna. So maybe we need to discuss it more 😅

AbigailDawson avatar Apr 25 '25 10:04 AbigailDawson

Yes, current behavior is also wrong, Probably good temporary solution is just have a view option to show/hide inactive users

BykhovDenis avatar Apr 25 '25 10:04 BykhovDenis

Should we re-assign to Anna or someone else? (again the system unset the assignee and attributed it to me - I’ll create a new issue for this bug)

AbigailDawson avatar Apr 25 '25 10:04 AbigailDawson

Hi @BykhovDenis , I was the one who raised this. My use case was as you mentioned above. The employee has left the organization and I have already removed them. However, two issues still exist:

Employees who have left are still showing up in the HR Active Timeline, which creates confusion.

We are currently able to tag inactive employees in chat, which should not be allowed.

Suggestion: Maybe we can have a separate tab for employees who have left, to keep things clearer.

messycodelab avatar Apr 28 '25 10:04 messycodelab

There is two separate issue. We can assign main to Anna, (I mean make toggle for set inactive user visibility). About mentions it is a bit more complex issue.

BykhovDenis avatar Apr 28 '25 10:04 BykhovDenis

As of the current develop branch, the HR module hides inactive employees by default: in Human resources > Schedule (and the department member table) there is a "Hide inactive" view option, and turning it off shows former employees again, marked as "Inactive", e.g. for period-end reporting. This was added in #10821, following the toggle approach suggested above; mentioning inactive users in chat was discussed as a separate topic. @ArtyomSavchenko could you close this issue if you agree?

MichaelUray avatar Oct 17 '26 17:10 MichaelUray

@AbigailDawson — based on the check described above, this looks resolved in the current code. Could you please close this issue if you agree? If you think it is not fixed yet, please describe what still goes wrong (steps, expected vs. actual behaviour), so it can be looked at again.

MichaelUray avatar Oct 20 '26 19:10 MichaelUray