Skip to main content

Workflow Management Layer — Service Concept (Detailed)

Core hierarchy (locked): Workflow → many Statuses → many Actions
Principle: Build screens once; govern visibility and progression by configuration.


1. Executive Summary

The Workflow Management Layer (WML) is a standardized control and visibility layer that governs how operational items (e.g., PR/PO/DO/WO/Inspection Orders) move through their lifecycle across the organization.

It ensures:

  • Clarity of stage: every item is always in exactly one Status.
  • Clarity of responsibility: each status defines who can observe vs who can act.
  • Controlled progression: status changes occur only through explicit Actions, optionally gated by approvals, and always recorded in an audit trail.
  • Reusable UX: build the main screens once, then configure what columns/sections/buttons appear per Workflow and per Status.
  • Daily management readiness: department-specific DMS Boards show real-time items grouped by status (execution view, not BI charts).

2. Problem Statement & Outcomes

2.1 Current enterprise pain points (typical)

  • Each department tracks the same operational items in different spreadsheets or siloed apps.
  • Status updates are delayed; teams discover changes too late.
  • Screens become “one-size-fits-all,” overloaded with fields and buttons that most users should not touch.
  • Approvals are not traceable; it’s hard to prove who approved what and when.
  • Control tower monitors are built repeatedly per department and per workflow.

2.2 Target outcomes

  • Single page development for worklists and item pages, reused across workflows.
  • Configuration-driven governance for who sees what and who can act when.
  • Real-time work execution visibility via department boards.
  • Audit-grade traceability: action logs, approval logs, status history, reason capture.

3. Decision Register (Validated)

AreaDecisionChoiceImplication / Standard
TerminologyActivity = StatusUse Status everywhere (UI, docs, API).
Product namingClient-facing label✅ Workflow Management LayerPositioned as cross-solution layer (MES/CMMS/QMS/WMS/DMS).
Workflow scope1 Workflow = 1 Entity typeAvoid mega-workflows; clear governance boundaries.
Internal vs ERPSingle workflow with Source attributeItems carry source=Internal/ERP; same governance applies.
Workflow metadataCode/Name/Owner/Category/Related DeptRelated Dept list is documentation-only unless promoted later.
Item identityInternal ID + optional ETL_IDInternal ID is canonical; ETL_ID is traceability only.
Status ownershipMultiple owners possibleOwnership is informational; act/observe rules remain explicit via actors.
Status templatesNo mandatory status setFreeform per workflow; requires governance templates to avoid chaos.
Terminal statusesTerminal statuses may still have actions✅ (High risk)Must document guardrails to prevent post-closure data corruption.
Action branching1 action → 1 target statusPredictable transition map; simpler audits and UI.
EvidenceOptionalKeep lightweight; mandate reason for Cancel/Reject.
ApprovalsApproval is an Action gateApprovals are attached to actions; printable/exportable.
Timeout escalationFuture milestoneDocument as roadmap; design objects now to avoid refactor.
Tabbing ManagementColumns-based curated worklistTabs are list presets (columns + filters + sort).
UI governanceWorkflow controls sections + buttons“Develop once”; status shapes the page.
Control TowerDMS Boards (items by status)Execution view, not KPI charts.
SLA / RulesOn-transition + continuous agingSupports aging and breach highlighting.
Cancel/RejectMandatory reasonHard enforcement at action submission.
BackflowAllowed via explicit actionsBackflow = formal transitions (Send Back/Rework).
HoldFormal status + Resume actionHold is stateful, not a label.
Cross-workflow triggersSupportedParent-child + peer links; orchestration is supported.
Split/MergePhase 2Document as roadmap; optional in v1.
Related Dept list usageDocumentation onlyPrevent hidden routing logic unless explicitly promoted later.

4. Core Concepts (Definition Level)

4.1 Workflow

A Workflow is a template defining how a single entity type is governed:

  • What Statuses exist
  • What Actions are allowed per status
  • Who can observe / act / approve
  • How screens behave (which columns/sections/buttons appear)
  • Whether the system watches status changes for real-time boards
  • Whether actions can trigger linked work in other workflows

Mental model: Workflow = the rulebook for one item type.

4.2 Status

A Status is a lifecycle stage inside a workflow. It defines:

  • The stage meaning (Draft/Released/On Hold/etc.)
  • Who can observe vs act
  • Which UI components are visible
  • Which actions are available
  • Whether approvals or acknowledgements are logged

Mental model: Status = where work currently lives.

4.3 Action

An Action is an explicit, user-triggered operation that:

  • Moves an item from one status to exactly one target status
  • Optionally requires approvals
  • Optionally captures additional input via a form
  • Writes an auditable event log
  • Optionally triggers downstream work (cross-workflow)
  • Optionally evaluates rules/SLA (on transition)

Mental model: Action = the official button that advances reality.


5. Conceptual Objects (What must exist)

These are implementation-agnostic business objects.

ObjectPurposeKey Attributes (Conceptual)
Workflow DefinitionStores workflow templateCode, Name, EntityType, Owner Dept, Category, Related Dept list, Source Policy
Schema BindingConnect workflow to dataDatasource, Table/Collection, PK field, Status field path, Reference mappings
Status DefinitionDefines stagesCode, Name, Sequence, Access model, Visible components, Allowed actions
Action DefinitionDefines transitionsCode, Name, FromStatus, ToStatus, Eligibility, Approval policy, Optional form
ActorRole participantRole name, Eligibility conditions (policy)
Ability / ComponentUI governanceComponent code, type (Action/View/Manage/Form), name
Workflow ItemRuntime recordInternal ID, Optional ETL_ID, Source, CurrentStatus, Handler(s), Key fields
Action LogAuditAction, Actor, Approvers, Timestamps, Input summary, StatusFrom/To
Tabbing Management ViewWorklists presetTab name, Columns, Filters, Sort, Allowed roles
DMS BoardDept execution boardBoard name, Included statuses, Filters, Display fields
Rule/SLA PolicyMeasures conditionsRule name, Type, Thresholds, Outcomes (flag/escalation)
Link (Cross-workflow)Relates itemsLink type (Parent/Child/Peer), Related item IDs

6. WML Capabilities (Three Main Functions)

6.1 Capability A — Tabbing Management (Columns-based curated worklists)

Purpose
Enable one Worklists page to serve many departments by configuration.

What Tabbing Management controls

  • Visible columns (subset of a large table)
  • Default filters and sorting
  • Who can access the tab (by Actor/Role eligibility)
  • Optional status scoping (tab appears only for certain statuses)

Operational impact

  • Developers build the Worklists UI once.
  • Each department gets a curated view (columns + filter) without new development.

6.2 Capability B — DMS Boards (Real-time “TV dashboard”)

Purpose
Provide department-specific, real-time execution visibility:

  • Items grouped by status (queues)
  • What needs action now
  • What is blocked
  • What is overdue / breached

Concept
A DMS Board is not KPI charts. It is a work queue by status for daily operations.

Real-time update concept

  • Status changes are broadcast as events.
  • DMS Boards subscribe to department/entity streams.
  • A fast read model (e.g., in-memory store) serves board lists instantly.

Recommended channel naming (concept)

  • Dept-centric: wml/v1/{site}/{dept}/{entity}
  • Status-centric: wml/v1/{site}/{entity}/{status}

6.3 Capability C — Workflow Studio (Workflow + Status + Action configuration)

Purpose
A single authoring plane where admins configure:

  • Workflow template
  • Statuses and Actions
  • Approvals and Forms
  • UI component visibility
  • Tabbing Management and DMS Boards
  • Rules and SLA

Workflow Studio blueprint steps

  1. Create workflow definition (metadata)
  2. Bind schema (table/collection, status field)
  3. Define actors (roles + eligibility)
  4. Register components (Component Registry & Ability Governance)
  5. Define statuses (meaning + access + visibility)
  6. Define actions per status (transitions)
  7. Define approvals per action (optional)
  8. Define forms per action (optional)
  9. Configure Tabbing Management (worklists presets)
  10. Configure DMS Boards (department queue boards)
  11. Define rules/SLA (on-transition + aging)

7. Status Designer (Queues, not labels)

Each Status must answer:

  • What does this stage mean operationally?
  • Who can observe?
  • Who can act?
  • What UI sections are visible?
  • What actions are available?
  • Is it a hold stage? a rework stage? a terminal stage?

Standardization note: status naming is freeform, but operational meaning must be documented.


8. Action & Approval Designer (Progress governance)

8.1 Action rules (standard)

  • One action must map to exactly one target status.
  • Eligibility must be explicit (actors + conditions).
  • Cancel/Reject must require a mandatory reason.

8.2 Approval model (action gates)

Approvals live on Actions, not on Statuses.

Supported approval types:

  • All
  • Any One
  • Majority
  • Sequential
  • Threshold (N)

Approval logs must support:

  • audit view
  • print/export

9. Runtime Experience (End Users)

9.1 Worklists Page (driven by Tabbing Management)

  • User opens a workflow worklist.
  • Selects a tab.
  • Sees only relevant columns with preset filters.

9.2 Item Detail Page (Status-driven UI)

  • Current status displayed clearly.
  • Sections/components shown/hidden based on status.
  • Only allowed actions appear.

9.3 Action Panel Execution (Controlled transition)

  1. Eligibility check
  2. Approval gate (if required)
  3. Form capture (if required)
  4. Execute downstream triggers (cross-workflow) first (if configured; apply Blocking/Overwrite rule)
  5. Execute action → patch item fields (if any) and move to target status
  6. Record auditable event log (action + approvals + payload summary)
  7. Evaluate rules/SLA on-transition
  8. Publish update to DMS Boards

9.4 History & audit

Users can view:

  • status history
  • action history
  • approvals and timestamps
  • reason text for cancel/reject

10. Governance Rules & Guardrails

10.1 Transition integrity

  • Status changes only via action.
  • Each item has exactly one current status.

10.2 Terminal statuses with actions (high risk)

If terminal statuses still allow actions, guardrails should be documented:

  • Mark them as Post-Closure Actions
  • Limit to Reopen / Administrative reclassification / Non-destructive correction notes
  • Require reason when post-closure actions run (recommended)

10.3 Cancel/Reject requires reason

  • Mandatory reason for Cancel/Reject.
  • Evidence optional (unless future compliance requires it).

10.4 Hold/Resume

  • Hold is a formal status.
  • Entering hold should capture reason (recommended).
  • Resume returns to working status.

11. Rules & SLA (On-transition + Continuous aging)

11.1 When rules run

  • On-transition: evaluate when action executes.
  • Continuous aging: track time while item stays in status.

11.2 What rules can measure

  • Time-based (aging > threshold)
  • Quantity-based (qty comparisons)
  • User/role-based (mismatch checks)
  • Logical combinations (OR/AND)

11.3 Outcomes

  • Flag/tag item
  • Highlight on DMS Boards
  • Optional: create issue/ticket in external tracking (capability)

12. Cross-Workflow Triggers & Linkages

12.1 Why it exists

Real operations are interconnected; one action can require work in another workflow.

  • Parent–Child
  • Peer–Peer

12.3 Trigger concepts

  • Create linked item in another workflow
  • Trigger linked action
  • Split/Merge (Phase 2 roadmap)

13. Identity & Source Policy

  • Primary identifier: Internal ID
  • Optional ETL identifier: ETL_ID
  • source=Internal or source=ERP

14. Example Blueprint — Delivery Order (DO)

Example only; statuses are freeform by policy.

14.1 Statuses

StatusMeaningNotes
DO-OPENCreated, not validated
DO-RELEASEDApproved for execution
DO-INPROGExecution ongoing
DO-HOLDBlockedReason recommended
DO-CLOSEDCompletedTerminal; guardrails if actions allowed

14.2 Actions

FromActionToApprovalReason Required
DO-OPENReleaseDO-RELEASEDOptionalNo
DO-OPENRejectDO-HOLDOptionalYes
DO-RELEASEDStart ExecutionDO-INPROGNoNo
DO-INPROGPut On HoldDO-HOLDNoRecommended
DO-HOLDResumeDO-INPROGNoNo
DO-INPROGCloseDO-CLOSEDOptionalNo

15. Example Blueprint — Maintenance Work Request (MWR)

15.1 Statuses

StatusMeaning
MWR-OPENRequest created
MWR-REVIEWReview/triage
MWR-APPROVEDApproved for planning
MWR-HOLDOn hold
MWR-CLOSEDClosed

15.2 Actions

FromActionToApprovalReason Required
MWR-OPENSubmitMWR-REVIEWNoNo
MWR-REVIEWApproveMWR-APPROVEDOptionalNo
MWR-REVIEWRejectMWR-CLOSED (or HOLD)OptionalYes
MWR-APPROVEDPut On HoldMWR-HOLDNoRecommended
MWR-HOLDResumeMWR-APPROVEDNoNo
MWR-APPROVEDCloseMWR-CLOSEDOptionalNo

16. Roadmap Items (Documented)

AreaImprovement
ApprovalsTimeout + escalation routing
BoardsAdvanced prioritization presets
Cross-workflowSplit/Merge operations (Phase 2)
RulesExpand rule catalog and governance templates

17. UI Pages & Navigation Map (for UI/UX)

This section standardizes page names and clarifies where each end-user behavior is configured.

17.1 Workflow Studio (Configurator Pages)

  • Workflow Studio → Overview
    • Workflow metadata, source policy.
  • Workflow Studio → Schema Binding
    • Datasource/table/collection mapping, PK, status field path, references, status-watch toggle.
  • Workflow Studio → Actor Model & Eligibility Rules
    • Actor/Role definitions, eligibility policy, role simulation (who matches what).
  • Workflow Studio → Component Registry & Ability Governance
    • Component catalog (codes + types: Action/View/Manage/Form), usage report.
  • Workflow Studio → Status Designer
    • Status meaning, access mode (observe/act), visible components, status-level SLA.
  • Workflow Studio → Action Designer
    • Transition (from/to), actor eligibility, approvals, form, cross-workflow triggers, on-transition rules/SLA.
  • Workflow Studio → Tabbing Management
    • Tab Views (columns + filters + sort + allowed actors).
  • Workflow Studio → DMS Boards
    • Dept boards, included statuses/queues, filters, display fields, channel/topic mapping.
  • Workflow Studio → Rules & SLA
    • Rule catalog, thresholds, outcomes (flags/highlight/optional ticket).
  • Workflow Studio → Preview (Role Simulation) (recommended)
    • Preview Worklists, Item Detail visibility, and Action availability as a chosen Actor.

17.2 Runtime (End-User Pages)

  • Work → Worklists → [Workflow]
    • Worklists page uses Tabbing Management to render role-specific columns/filters.
  • Work → Worklists → [Workflow] → Open Item
    • Item Detail page renders sections and editable areas by Status Designer.
  • Item Detail → Action Panel
    • Action availability/behavior is governed by Action Designer.
  • Work → DMS Boards → [Dept Board]
    • Real-time execution board grouped by status queues.
  • Item Detail → History & Audit
    • Status history, action logs, approvals, reasons.

18. Glossary (Quick Reference)

  • Workflow: A template governing one entity type (statuses, actions, roles, UI behavior).
  • Status: The current lifecycle stage of an item; defines access, UI visibility, and available actions.
  • Action: A user-triggered operation that transitions an item from one status to one target status.
  • Actor: A role definition with eligibility conditions for observing/acting/approving.
  • Approval: A gate attached to an action; logs approvers and timestamps.
  • Tabbing Management: A configured worklist preset (columns + filters + sorting + role access).
  • DMS Board: A real-time department execution view of items grouped by status.
  • Schema Binding: The mapping of a workflow to a database table/collection and status field.
  • Rule/SLA Policy: A set of conditions and time/threshold measures that flag breaches and aging.
  • Cross-workflow trigger: A configured rule where one action creates or progresses work in another workflow.
  • Terminal Status: An end state (e.g., Closed) that typically stops progression; allowing actions here is high-risk.

Workflow Management Layer — Konsep Layanan (Detail)

Hierarki inti (dikunci): Workflow → banyak Status → banyak Action
Prinsip: Bangun layar sekali; atur visibilitas dan progres kerja lewat konfigurasi.


1. Ringkasan Eksekutif

Workflow Management Layer (WML) adalah lapisan standar untuk kontrol dan visibilitas yang mengatur bagaimana item operasional (misalnya PR/PO/DO/WO/Inspection Orders) bergerak sepanjang siklus hidupnya di seluruh organisasi.

WML memastikan:

  • Kejelasan tahap: setiap item selalu berada tepat di satu Status.
  • Kejelasan tanggung jawab: setiap status mendefinisikan siapa yang boleh observe (mengamati/lihat saja) vs siapa yang boleh act (melakukan aksi).
  • Progres terkontrol: perubahan status hanya terjadi melalui Action yang eksplisit, dapat dipasang approval gate, dan selalu terekam di audit trail.
  • UX yang dapat digunakan ulang: bangun layar utama sekali, lalu konfigurasi kolom/section/button yang tampil per Workflow dan per Status.
  • Siap daily management: DMS Boards per departemen menampilkan item real-time yang dikelompokkan berdasarkan status (execution view, bukan chart BI/KPI).

2. Pernyataan Masalah & Outcome

2.1 Pain points perusahaan saat ini (umum)

  • Setiap departemen melacak item operasional yang sama di spreadsheet berbeda atau aplikasi yang terpisah (silo).
  • Update status terlambat; tim baru mengetahui perubahan ketika sudah terlambat.
  • Layar menjadi “one-size-fits-all,” penuh kolom dan tombol yang seharusnya tidak disentuh oleh sebagian besar user.
  • Approval tidak mudah ditelusuri; sulit membuktikan siapa approve apa dan kapan.
  • Monitor/control tower dibuat berulang untuk tiap departemen dan tiap workflow.

2.2 Outcome target

  • Pengembangan satu kali untuk Worklists dan halaman item, lalu dipakai ulang lintas workflow.
  • Governance berbasis konfigurasi untuk mengatur siapa melihat apa dan siapa bisa melakukan aksi kapan.
  • Visibilitas eksekusi real-time lewat board departemen.
  • Traceability audit-grade: action logs, approval logs, status history, reason capture.

3. Decision Register (Tervalidasi)

AreaKeputusanPilihanImplikasi / Standar
TerminologiActivity = StatusGunakan Status di seluruh sistem (UI, dok, API).
Penamaan produkLabel client-facing✅ Workflow Management LayerDiposisikan sebagai layer lintas solusi (MES/CMMS/QMS/WMS/DMS).
Scope workflow1 Workflow = 1 Entity typeHindari mega-workflow; boundary governance jelas.
Internal vs ERPSatu workflow dengan atribut SourceItem membawa source=Internal/ERP; governance sama.
Metadata workflowCode/Name/Owner/Category/Related DeptRelated Dept list hanya dokumentasi kecuali dipromosikan nanti.
Identitas itemInternal ID + opsional ETL_IDInternal ID adalah canonical; ETL_ID hanya traceability.
Ownership statusMultiple owners dimungkinkanOwnership informatif; aturan observe/act tetap eksplisit via actor.
Template statusTidak ada set status wajibBebas per workflow; perlu template governance agar tidak chaos.
Terminal statusTerminal masih boleh punya action✅ (Risiko tinggi)Harus ada guardrails untuk mencegah korupsi data setelah closed.
Branching action1 action → 1 target statusTransition map prediktif; audit dan UI lebih sederhana.
EvidenceOpsionalRingankan; reason wajib untuk Cancel/Reject.
ApprovalsApproval adalah gate pada ActionApproval menempel pada action; siap print/export.
Timeout escalationMilestone masa depanMasukkan roadmap; desain objek dari sekarang agar tak refactor.
Tabbing ManagementWorklist kurasi berbasis kolomTab adalah preset list (columns + filters + sort).
UI governanceWorkflow mengatur sections + buttons“Develop once”; status membentuk halaman.
Control TowerDMS Boards (item by status)Execution view, bukan KPI chart.
SLA/RulesOn-transition + continuous agingMendukung aging dan highlight breach.
Cancel/RejectReason wajibHard enforcement saat submit action.
BackflowBoleh via action eksplisitBackflow = transisi formal (Send Back/Rework).
HoldStatus formal + Resume actionHold bersifat stateful, bukan label.
Cross-workflow triggersDidukungParent-child + peer links; orchestration didukung.
Split/MergePhase 2Masuk roadmap; opsional v1.
Related Dept list usageDokumentasi sajaCegah routing tersembunyi kecuali dipromosikan jadi rule resmi.

4. Konsep Inti (Level Definisi)

4.1 Workflow

Workflow adalah template yang mendefinisikan governance untuk satu jenis entity:

  • Status apa saja yang ada
  • Action apa yang diizinkan per status
  • Siapa yang boleh observe/act/approve
  • Perilaku layar (kolom/section/button yang tampil)
  • Apakah sistem melakukan watch perubahan status untuk board real-time
  • Apakah action dapat memicu pekerjaan terkait di workflow lain

Mental model: Workflow = rulebook untuk satu jenis item.

4.2 Status

Status adalah tahap lifecycle dalam workflow. Status mendefinisikan:

  • Makna tahap (Draft/Released/On Hold/dll.)
  • Siapa yang boleh observe vs act
  • Komponen UI mana yang terlihat
  • Action mana yang tersedia
  • Apakah approval/acknowledgement dicatat

Mental model: Status = tempat kerja saat ini berada.

4.3 Action

Action adalah operasi eksplisit yang dipicu user dan bersifat auditable:

  • Memindahkan item dari satu status ke tepat satu target status
  • Opsional membutuhkan approvals
  • Opsional mengambil input tambahan lewat form
  • Menulis event log yang bisa diaudit
  • Opsional memicu pekerjaan downstream (cross-workflow):
    • batasan: hanya dapat mentrigger action dari workflow yang berelasi dengan workflow ini
  • Opsional mengevaluasi rules/SLA (saat transisi)

Mental model: Action = tombol resmi yang mengubah realitas.


5. Objek Konseptual (Wajib Ada)

Ini adalah objek bisnis yang implementation-agnostic.

ObjekTujuanAtribut Kunci (Konseptual)
Workflow DefinitionMenyimpan template workflowCode, Name, EntityType, Owner Dept, Category, Related Dept list, Source Policy
Schema BindingMenghubungkan workflow ke dataDatasource, Table/Collection, PK field, Status field path, Reference mappings
Status DefinitionMendefinisikan stageCode, Name, Sequence, Access model, Visible components, Allowed actions
Action DefinitionMendefinisikan transisiCode, Name, FromStatus, ToStatus, Eligibility, Approval policy, Optional form
ActorPartisipan roleRole name, Eligibility conditions (policy)
Ability / ComponentGovernance UIComponent code, type (Action/View/Manage/Form), name
Workflow ItemRecord runtimeInternal ID, Optional ETL_ID, Source, CurrentStatus, Handler(s), Key fields
Action LogAuditAction, Actor, Approvers, Timestamps, Input summary, StatusFrom/To
Tabbing Management ViewPreset WorklistsTab name, Columns, Filters, Sort, Allowed roles
DMS BoardBoard eksekusi deptBoard name, Included statuses, Filters, Display fields
Rule/SLA PolicyMengukur kondisiRule name, Type, Thresholds, Outcomes (flag/escalation)
Link (Cross-workflow)Relasi antar itemLink type (Parent/Child/Peer), Related item IDs

6. Kapabilitas WML (Tiga Fungsi Utama)

6.1 Kapabilitas A — Tabbing Management (Worklists kurasi berbasis kolom)

Tujuan
Memungkinkan satu halaman Worklists melayani banyak departemen lewat konfigurasi.

Yang dikontrol oleh Tabbing Management

  • Kolom yang terlihat (subset dari tabel besar)
  • Filter dan sorting default
  • Siapa yang boleh akses tab (berdasarkan eligibility Actor/Role)
  • Opsional: status scoping (tab hanya muncul di status tertentu)

Dampak operasional

  • Developer membangun Worklists UI sekali.
  • Tiap departemen mendapat tampilan kurasi (kolom + filter) tanpa development baru.

6.2 Kapabilitas B — DMS Boards (Realtime “TV dashboard”)

Tujuan
Memberikan visibilitas eksekusi real-time per departemen:

  • Item dikelompokkan per status (queues)
  • Mana yang butuh action sekarang
  • Mana yang blocked
  • Mana yang overdue/breached

Konsep
DMS Board bukan KPI chart. Ini adalah work queue by status untuk operasi harian.

Konsep update real-time

  • Perubahan status dibroadcast sebagai event.
  • DMS Boards subscribe ke stream departemen/entity.
  • Read model cepat (mis. in-memory store) menyajikan list board secara instan.

Rekomendasi penamaan channel (konseptual)

  • Dept-centric: wml/v1/{site}/{dept}/{entity}
  • Status-centric: wml/v1/{site}/{entity}/{status}

6.3 Kapabilitas C — Workflow Studio (Konfigurasi Workflow + Status + Action)

Tujuan
Satu authoring plane tempat admin mengkonfigurasi:

  • Workflow template
  • Statuses dan Actions
  • Approvals dan Forms
  • UI component visibility
  • Tabbing Management dan DMS Boards
  • Rules dan SLA

Workflow Studio — blueprint langkah

  1. Create workflow definition (metadata)
  2. Bind schema (table/collection, status field)
  3. Define actors (roles + eligibility)
  4. Register components (Component Registry & Ability Governance)
  5. Define statuses (meaning + access + visibility)
  6. Define actions per status (transitions)
  7. Define approvals per action (opsional)
  8. Define forms per action (opsional)
  9. Configure Tabbing Management (preset worklists)
  10. Configure DMS Boards (dept queue boards)
  11. Define rules/SLA (on-transition + aging)

7. Status Designer (Queue, bukan sekadar label)

Setiap Status harus menjawab:

  • Apa makna operasional tahap ini?
  • Siapa yang boleh observe?
  • Siapa yang boleh act?
  • Section UI apa yang visible?
  • Action apa yang available?
  • Apakah ini hold stage? rework stage? terminal stage?

Catatan standardisasi: penamaan status bebas, tapi makna operasional wajib didokumentasikan.


8. Action & Approval Designer (Governance progres)

8.1 Aturan action (standar)

  • Satu action harus map ke tepat satu target status.
  • Eligibility harus eksplisit (actors + conditions).
  • Cancel/Reject wajib punya reason.

8.2 Model approval (action gates)

Approval hidup di Actions, bukan di Status.

Tipe approval yang didukung:

  • All
  • Any One
  • Majority
  • Sequential
  • Threshold (N)

Approval log harus mendukung:

  • audit view
  • print/export

9. Runtime Experience (End Users)

9.1 Worklists Page (driven by Tabbing Management)

  • User membuka worklist workflow.
  • Memilih tab.
  • Melihat kolom relevan dengan preset filter.

9.2 Item Detail Page (UI berbasis status)

  • Status saat ini terlihat jelas.
  • Section/komponen tampil/sembunyi sesuai status.
  • Hanya action yang diizinkan yang muncul.

9.3 Action Panel Execution (Transisi terkendali)

  1. Eligibility check
  2. Approval gate (jika perlu)
  3. Form capture (jika perlu)
  4. Eksekusi downstream triggers (cross-workflow) terlebih dahulu (jika dikonfigurasi; terapkan Blocking/Overwrite)
  5. Eksekusi action → patch field item (jika ada) dan pindah ke target status
  6. Rekam event log yang auditable (action + approvals + ringkasan payload)
  7. Evaluasi rules/SLA on-transition
  8. Publish update ke DMS Boards

9.4 History & audit

User dapat melihat:

  • status history
  • action history
  • approvals dan timestamp
  • reason untuk cancel/reject

10. Governance Rules & Guardrails

10.1 Integritas transisi

  • Status berubah hanya via action.
  • Setiap item punya tepat satu current status.

10.2 Terminal status masih punya action (risiko tinggi)

Jika terminal status masih mengizinkan action, guardrails perlu didokumentasikan:

  • Tandai sebagai Post-Closure Actions
  • Batasi ke Reopen / Administrative reclassification / Correction note non-destruktif
  • Reason wajib saat post-closure action berjalan (disarankan)

10.3 Cancel/Reject wajib reason

  • Reason wajib untuk Cancel/Reject.
  • Evidence opsional (kecuali compliance meminta).

10.4 Hold/Resume

  • Hold adalah status formal.
  • Masuk Hold sebaiknya capture reason.
  • Resume mengembalikan ke working status.

11. Rules & SLA (On-transition + Continuous aging)

11.1 Kapan rules berjalan

  • On-transition: dievaluasi saat action dieksekusi.
  • Continuous aging: waktu berjalan selama item berada di status.

11.2 Yang dapat diukur oleh rules

  • Time-based (aging > threshold)
  • Quantity-based (perbandingan qty)
  • User/role-based (mismatch)
  • Logical combinations (OR/AND)

11.3 Outcome

  • Flag/tag item
  • Highlight di DMS Boards
  • Opsional: create issue/ticket ke external tracking

12. Cross-Workflow Triggers & Linkages

12.1 Kenapa ada

Operasi nyata saling terhubung; satu action dapat membutuhkan pekerjaan di workflow lain.

  • Parent–Child
  • Peer–Peer

12.3 Konsep trigger

  • Create linked item di workflow lain
  • Trigger linked action
  • Split/Merge (roadmap Phase 2)

13. Identity & Source Policy

  • Primary identifier: Internal ID
  • Opsional ETL identifier: ETL_ID
  • source=Internal atau source=ERP

14. Contoh Blueprint — Delivery Order (DO)

Contoh; status bebas sesuai kebijakan.

14.1 Status

StatusMaknaCatatan
DO-OPENDibuat, belum valid
DO-RELEASEDDisetujui untuk eksekusi
DO-INPROGSedang dieksekusi
DO-HOLDTerblokirReason disarankan
DO-CLOSEDSelesaiTerminal; guardrails jika action diizinkan

14.2 Actions

DariActionKeApprovalReason Required
DO-OPENReleaseDO-RELEASEDOpsionalTidak
DO-OPENRejectDO-HOLDOpsionalYa
DO-RELEASEDStart ExecutionDO-INPROGTidakTidak
DO-INPROGPut On HoldDO-HOLDTidakDisarankan
DO-HOLDResumeDO-INPROGTidakTidak
DO-INPROGCloseDO-CLOSEDOpsionalTidak

15. Contoh Blueprint — Maintenance Work Request (MWR)

15.1 Status

StatusMakna
MWR-OPENRequest dibuat
MWR-REVIEWReview/triage
MWR-APPROVEDDisetujui untuk planning
MWR-HOLDDitahan
MWR-CLOSEDDitutup

15.2 Actions

DariActionKeApprovalReason Required
MWR-OPENSubmitMWR-REVIEWTidakTidak
MWR-REVIEWApproveMWR-APPROVEDOpsionalTidak
MWR-REVIEWRejectMWR-CLOSED (atau HOLD)OpsionalYa
MWR-APPROVEDPut On HoldMWR-HOLDTidakDisarankan
MWR-HOLDResumeMWR-APPROVEDTidakTidak
MWR-APPROVEDCloseMWR-CLOSEDOpsionalTidak

16. Roadmap Items (Terdokumentasi)

AreaImprovement
ApprovalsTimeout + escalation routing
BoardsAdvanced prioritization presets
Cross-workflowSplit/Merge operations (Phase 2)
RulesExpand rule catalog dan governance templates

17. Peta Halaman UI & Navigasi (untuk UI/UX)

Bagian ini menstandarkan nama halaman dan menjelaskan di mana konfigurasi dilakukan.

17.1 Workflow Studio (Configurator Pages)

  • Workflow Studio → Overview
    • Metadata workflow, source policy.
  • Workflow Studio → Schema Binding
    • Mapping datasource/table/collection, PK, status field path, references, status-watch toggle.
  • Workflow Studio → Actor Model & Eligibility Rules
    • Definisi actor/role, eligibility policy, role simulation.
  • Workflow Studio → Component Registry & Ability Governance
    • Katalog komponen (code + type: Action/View/Manage/Form), usage report.
  • Workflow Studio → Status Designer
    • Makna status, access mode (observe/act), visible components, SLA per status.
  • Workflow Studio → Action Designer
    • Transition (from/to), eligibility actor, approvals, form, cross-workflow, rules/SLA on-transition.
  • Workflow Studio → Tabbing Management
    • Preset tab (kolom + filter + sort + allowed actors).
  • Workflow Studio → DMS Boards
    • Dept boards, status queues, filters, display fields, channel/topic mapping.
  • Workflow Studio → Rules & SLA
    • Rule catalog, thresholds, outcomes (flags/highlight/optional ticket).
  • Workflow Studio → Preview (Role Simulation) (recommended)
    • Preview Worklists, Item Detail, Action availability sebagai actor tertentu.

17.2 Runtime (End-User Pages)

  • Work → Worklists → [Workflow]
    • Worklists dirender oleh Tabbing Management (kolom/filter sesuai role).
  • Work → Worklists → [Workflow] → Open Item
    • Item Detail dirender oleh Status Designer.
  • Item Detail → Action Panel
    • Action behavior digovern oleh Action Designer.
  • Work → DMS Boards → [Dept Board]
    • Board real-time per departemen (queue by status).
  • Item Detail → History & Audit
    • Status history, action logs, approvals, reasons.

18. Glosarium (Quick Reference)

  • Workflow: Template untuk mengatur satu jenis entity (status, action, roles, perilaku UI).
  • Status: Tahap lifecycle item; menentukan akses, UI visibility, dan action yang tersedia.
  • Action: Operasi yang memindahkan item dari satu status ke satu target status.
  • Actor: Definisi role dengan kondisi eligibility untuk observe/act/approve.
  • Approval: Gate pada action; log approver + timestamp.
  • Tabbing Management: Preset worklist (columns + filters + sorting + akses role).
  • DMS Board: Tampilan eksekusi real-time per departemen; item dikelompokkan per status.
  • Schema Binding: Mapping workflow ke table/collection dan field status.
  • Rule/SLA Policy: Aturan threshold/aging yang menghasilkan breach/flag.
  • Cross-workflow trigger: Rule yang membuat atau memprogres pekerjaan di workflow lain.
  • Terminal Status: Status akhir (mis. Closed); membolehkan action di sini berisiko tinggi.