Bounded Workflow & Rules Configurator
Business process owners configure recurring approvals, notifications and SLA logic from an allowlisted action set — versioned, testable, publishable and reversible, never a general-purpose programming platform.
GOV-07
Published workflows
18
Across 7 modules
Drafts in progress
4
1 blocked by validation
Running instances
342
Oldest: 41 days (escrow release)
Escalations (7d)
9
6 SLA breach · 3 manual
Test pass rate
96%
51 / 53 cases green
Workflow definitions
| Workflow | Ver. | Status | Running |
|---|---|---|---|
| Expense approval Finance · owner: Fatima Rashid |
v7 draft v8 |
Published Draft blocked | 64 |
| Offer discount approval Sales · owner: Rashid Al Farsi |
v4 | Published | 21 |
| Contract release Legal · owner: Mariam Al Suwaidi |
v5 | Published | 12 |
| Reservation refund Finance · owner: Fatima Rashid |
v3 | Published | 7 |
| KYC escalation & SLA Compliance · owner: Ahmed Al Blooshi |
v6 | Published | 33 |
| Maintenance work order Operations · owner: Elena Petrova |
v2 draft v3 |
Published Draft in test | 188 |
| Leave request HR · owner: HR ops |
v9 | Published | 17 |
| Vendor onboarding Procurement · owner: Daniel Chen |
v1-draft | Draft — never published | 0 |
| Cheque bounce handling Finance · deprecated 01 Jul 2026 |
v2 | Deprecated — 0 new | 2 |
Expense approval — draft v8 (published: v7)
Validation failed
Draft
Submitted
Manager approval
Finance review
Posted
| Stage | Type | Actor resolution | On reject | SLA | Escalation |
|---|---|---|---|---|---|
| Submitted | Entry gate | Requester (any staff) | — | — | — |
| Manager approval | Approval | Authority matrix AUT-001/002 · self-approval blocked | → Rework (return to requester) | 24h | Notify dept head after 24h |
| Finance review | Approval | Authority matrix AUT-002/003 (dual > 50k) | ✕ Missing rejection path | 48h | Escalate to Finance Manager |
| Posted | Module action | finance.post_expense (allowlisted · validated by Finance) | — | — | — |
| Any stage | Paths | Rework ✓ · Rejection (stage-level) · Cancellation ✓ (requester, with reason) · Expiry 30 days ✓ · Escalation ✓ | |||
Validation results — draft v8 · run 17 Jul 2026 08:12
| Check | Detail | Result |
|---|---|---|
| WF-VAL-001 | All stages reachable from entry | Pass |
| WF-VAL-014 | Every terminal state is explicit (approve / reject / cancel / expire) | Pass |
| WF-VAL-102 | Rejection path present on every approval stage — “Finance review” missing | Fail — blocking |
| WF-VAL-118 | Actions allowlisted & validated by owning module | Pass |
| WF-VAL-121 | Approver resolution via authority matrix (no hard-coded names) | Pass |
| WF-VAL-133 | Escalation targets resolvable in all branches | Warning — dept head vacant in Abu Dhabi Branch |
Expense approval — version historyVersion lifecycle
| Version | Effective | Content hash | Approved by | State | |
|---|---|---|---|---|---|
| v8 (draft) | — | sha256:31aa…d208 | — | Blocked — WF-VAL-102 | |
| v7 | 01 May 2026 → open | sha256:8c4e…19b3 | Fatima Rashid · Vikram Nair | Active | |
| v6 | 10 Jan – 30 Apr 2026 | sha256:f0b7…a441 | Fatima Rashid · Vikram Nair | Superseded · 3 instances still on v6 | |
| v5 | 02 Sep 2025 – 09 Jan 2026 | sha256:77d2…3c90 | Fatima Rashid · V. Nair | Superseded |
Test cases — draft v8 · 8 of 53 shown
| Case | Scenario | Input hash | Expected | Actual | Result |
|---|---|---|---|---|---|
| TC-01 | AED 3,200 expense by Omar Haddad | in:a1f2… | Route: line manager only (AUT-001) | Route: line manager only | Pass |
| TC-02 | AED 7,850 expense by Daniel Chen (delegate active) | in:b083… | Self-approval blocked · re-route Fatima Rashid | Self-approval blocked · re-route | Pass |
| TC-03 | AED 68,500 expense → dual approval | in:9cc1… | FM + MD (AUT-003), independent pair | FM + MD, independent pair | Pass |
| TC-04 | Rejection at Finance review returns to requester | in:5d17… | Rework path taken | No transition found | Fail |
| TC-05 | SLA breach at Manager approval (25h) | in:e942… | Escalation notice to dept head | Escalation notice sent | Pass |
| TC-06 | Requester cancels while in approval | in:07bd… | Cancelled with mandatory reason · audit event | Cancelled · audited | Pass |
| TC-07 | Instance idle 30 days | in:c65a… | Expired · requester notified | Expired · notified | Pass |
| TC-08 | Abu Dhabi Branch — dept head vacant | in:44e9… | Escalate to branch manager fallback | Fallback used · warning logged | Pass with warning |
51 pass · 1 fail · 1 warning — publication requires 0 failing cases
Allowlisted actions available to this workflowValidated by owning module
| Action | Owning module | Parameters (typed) | Validation | Status |
|---|---|---|---|---|
workflow.approve | Platform | reason?: text | Authority + SoD evaluated server-side | Allowlisted |
workflow.reject | Platform | reason: text (mandatory) | Rejection reason required | Allowlisted |
workflow.rework | Platform | return_stage: enum | Target must precede current stage | Allowlisted |
notify.send | Notifications | template_id: ref · locale: en|ar | Approved template only | Allowlisted |
sla.set / sla.escalate | Platform | hours: int 1–720 | Bounded range | Allowlisted |
finance.post_expense | Finance | expense_id: ref | Finance validates state + period open | Allowlisted |
task.create | Work queue | assignee: role-ref · due: date | Role must exist in scope | Allowlisted |
script.execute | — | — | Not permitted on this platform | Rejected — not allowlisted |
http.call (external) | — | — | Use governed connectors via events & webhooks | Rejected — not allowlisted |
Running instances — Expense approval (64)Each retains its definition version
| Instance | Subject | Def. ver. | Stage | Age | State |
|---|---|---|---|---|---|
| WFI-88231 | EXP-2214 · AED 7,850.00 · Daniel Chen | v7 | Finance review | 1d | In approval |
| WFI-88204 | EXP-2209 · AED 1,120.00 · Layla Hassan | v7 | Manager approval | 2d | SLA breached — escalated |
| WFI-88187 | EXP-2201 · AED 4,300.00 · marketing | v7 | Posted | 3d | Completed |
| WFI-88102 | EXP-2188 · AED 62,000.00 · fit-out deposit | v7 | Manager approval | 5d | Rework — returned to requester |
| WFI-87914 | EXP-2154 · AED 980.00 · Omar Haddad | v6 | — | 22d | Rejected — reason recorded |
| WFI-87850 | EXP-2141 · AED 2,450.00 · office supplies | v6 | — | 29d | Cancelled by requester |
| WFI-87611 | EXP-2102 · AED 15,600.00 · dormant | v6 | — | 31d | Expired (30-day rule) |
⇪ Publish “Maintenance work order” draft v3
Static render mockup — no live data. Source: ERP Modern Development Specification v2.0 · Covers: GOV-07 (bounded workflow & rules configurator; versioned/testable/publishable/reversible definitions, allowlisted actions, rejection-path validation block WF-VAL-102, rework/cancel/expiry/escalation paths).