Skip to main content

Service Report #019 New

Date: 2026-02-23


Full Documentation

For detailed format options, ASCII diagrams, and design decisions, see the Task Numbering System feature page.

New Feature — Task Numbering System

This report covers the new Task Numbering System that automatically generates unique, human-readable reference numbers for every workflow task. The feature spans backend (atomic number generation, PDF/XLSX export) and frontend (settings UI, display across all task views).

Feature Overview​

#FeatureTypeStatus
1Task Numbering SystemNew Feature🔍 In Review

1. Task Numbering System​

Thai Name: ā¸Ŗā¸°ā¸šā¸šāš€ā¸Ĩā¸‚ā¸Ŗā¸ąā¸™ā¸‡ā¸˛ā¸™

Description: Every new workflow task automatically receives a unique task number (e.g., REG-202602-000001). The number is visible in the task toolbar, My Tasks list, All Tasks table, print preview, and PDF/XLSX exports. Employers can configure the numbering format and customize type prefixes per workflow.

Location: Visible across all task views; configurable at Settings > Employer Setting > Document Numbering tab

What's Included​

AreaDetails
Auto-generationTask number assigned at creation, atomic (no duplicates)
6 format optionsCE and BE calendar, daily/monthly/yearly counter reset
7 type prefixesCustomizable per workflow type (REG, CR, WP, TE, JSA, TL, CE)
DisplayTask toolbar badge, My Tasks cards, All Tasks table column
SearchKeyword search in All Tasks includes task number
Print previewTask number in header of all print preview forms
PDF/XLSX exportTask number in document header
Settings UIFormat selection with live preview + prefix configuration table

What to Test​

#Test CaseStatus
1Create a new workflow task and verify task number appears in toolbar⌛ Pending
2Check My Tasks list shows task number on cards⌛ Pending
3Check All Tasks table has "Task No." column with number⌛ Pending
4Search by task number in All Tasks⌛ Pending
5Open print preview and verify task number in header⌛ Pending
6Export PDF and verify task number in document header⌛ Pending
7Change numbering format in settings and create new task⌛ Pending
8Change type prefix and verify new tasks use updated prefix⌛ Pending
9Create 2 tasks of same type quickly — verify sequential numbers⌛ Pending
10Verify Buddhist Era formats show +543 year (e.g., 2569)⌛ Pending