Short version: disabling a User Account does not remove them from drop-down staff selectors, like Caseworker.
Longer version: In the background, each User account also has a corresponding People record, and these are linked to each other. To control whether someone can login or not, you'd activate/deactivate their User account. However, activating/deactivating the User account doesn't impact the activity status of the People account. It is the People information that determines whether that user shows up in drop-down menus, like Caseworker.
Try these steps:
Create a User, give it the role "Caseworker"
Go open a case, see the User is selectable in the Caseworker dropdown
Deactivate the User
Go open a case, see the User is still selectable in the Caseworker dropdown (they should no longer be selectable)
Go to Front Desk > People and find the one that matches the User. Edit that Person and set Active to No
Go open a case, see the User is no longer selectable in the Caseworker dropdown
Proposed fix: Make these fields equal to each other. HIFIS_UserProfiles.ActiveYN = HIFIS_People.ActiveYN. The rest of the fields are equal to each other, so if you change one's name, the other gets updated, so just correct the link between the Active field.
Comments