replace messageId with departmentName when push message