Prevent Employees from Sending New Instant Messages to Inactive Office Staff

Prev Next

Prevent Employees from Sending New Instant Messages to Inactive Office Staff

To improve communication efficiency and prevent messaging errors, the system will block employees from sending new instant messages to office staff who are marked as inactive. While new messages are blocked, historical conversations remain visible to maintain context and record integrity. This feature ensures employees do not attempt to communicate with unavailable or deactivated office staff.

Functionality

  • Inactive Office Staff Messaging Restriction:
    • If an office staff member’s status is inactive, employees cannot send new instant messages to them.
    • The chat input field for the inactive staff member will be disabled and a toaster notification will be displayed with the message:
      "This user is inactive and cannot receive new messages."
  • AppliesActive Flag:
    • If AppliesActive = true: Employees can send messages only to active office staff, indicating that the staff member is currently active.
    • If AppliesActive = false: Chat initiation (new messages) is completely disabled for that office staff, indicating that the staff member is inactive.
  • Viewing Past Conversations:
    • Employees can still view past conversations with inactive office staff to retain message history and context.
    • No sending or new message functionality is available for restricted users.
  • User Notifications:
    • Proper, clear notifications are provided when an office staff member is restricted from receiving new messages.