Skip to content

Audit Custom Field HD Ticket ​

Cập nhật: 2026-05-10 | Nguồn: Custom Field, Server Script, Assignment Rule production

Phân nhóm Custom Field theo nghiệp vụ ​

A. Identity / Store ​

FieldMô tảStatus
custom_store_urlURL cửa hàng (canonical input)✅ ACTIVE
custom_orgidOrganization ID (canonical)✅ ACTIVE
custom_myharavan_domainDomain myharavan✅ ACTIVE
custom_haravan_org_nameTên tổ chức✅ ACTIVE
custom_haravan_shop_link(legacy → custom_store_url)⚠️ LEGACY
custom_haravan_myharavan_link(legacy → custom_store_url)⚠️ LEGACY
custom_my_haravan_domain(legacy → custom_myharavan_domain)⚠️ LEGACY
custom_haravan_profile_orgid(legacy → custom_orgid)⚠️ LEGACY

B. Segment / Plan / Lifecycle ​

FieldMô tảStatus
custom_customer_segmentPhân khúc khách hàng (SME/Medium/Enterprise)✅ ACTIVE
custom_current_shopplanShopplan hiện tại (snapshot)✅ ACTIVE
custom_customer_lifetime_monthsThời gian sử dụng (tháng)✅ ACTIVE
custom_haravan_hsi_segment(legacy → custom_customer_segment)⚠️ LEGACY

C. Service / Intake ​

FieldMô tảStatus
custom_service_lineDòng dịch vụ✅ ACTIVE
custom_service_nameTên dịch vụ✅ ACTIVE
custom_service_groupGroup dịch vụ (Select: Ecom/Ads/Design...)✅ ACTIVE
custom_partner_servicePartner service (snapshot)✅ ACTIVE
custom_product_lineSản phẩm chính✅ ACTIVE
custom_product_featureTính năng sản phẩm✅ ACTIVE
custom_product_suggestionGợi ý sản phẩm (input)✅ ACTIVE

D. Workflow / Integration ​

FieldMô tảStatus
custom_gitlab_issue_urlGitLab issue URL✅ ACTIVE
custom_bitrix_deal_idBitrix Deal ID✅ ACTIVE
custom_contact_phoneSố điện thoại liên hệ✅ ACTIVE
custom_haravan_routing_reasonLý do routing✅ ACTIVE

Quy tắc quản lý field ​

ACTIVE — Không xóa ​

Field đang được sử dụng bởi Server Script, Assignment Rule, hoặc Report.

LEGACY — Giữ tạm, khóa ghi mới ​

Field cũ đã có canonical thay thế. Migrate dữ liệu cũ → canonical, sau đó hidden.

CANDIDATE_REMOVE — Chờ xóa ​

Sau khi qua gate dữ liệu (không còn script/rule/report dùng + dữ liệu rỗng/đã migrate).

Tiêu chí an toàn để xóa field ​

Phải đạt tất cả điều kiện:

  1. ❌ Không còn read/write trong Server Script
  2. ❌ Không còn trong Assignment Rule / Report / Notification
  3. ✅ Giá trị rỗng hoặc đã migrate 100% về canonical
  4. ✅ Đã hidden tối thiểu 7 ngày không phát sinh issue

Tham chiếu ​