Employee Application Management System

A role-scoped review portal for multi-step immigration applications, rebuilt on Forminator with the same operational model.

ROLEBackend and portal developerArchitecture, implementation and release
SCOPEReview queue, assignment, statuses, notes, PDF letters and applicant lookupForminator migration
STACK PATTERNSWordPress / PHP / Forminator / AJAX / Custom rolesTwo form engines
STATUS
Production system
Client work, anonymized
01 · CONTEXT AND TRUST BOUNDARIES

A review portal rebuilt on a second form engine

An immigration application workflow needed the same staff review model on a second site that used Forminator instead of Gravity Forms. Staff needed one queue for Visa and ESTA applications, with the same roles, assignment rules and status vocabulary.

Forminator stores entries and metadata through different APIs, so the portal could not be copied from the Gravity Forms version. The new integration had to respect the Forminator data model while keeping the operating model familiar.

Visa applications also arrive in two parts. The portal needed to show both entries as one case and keep the second part linked to the first.

CORE CONSTRAINT

The portal is not a form builder feature. It is a role-scoped operations layer over form entries.

02 · SYSTEM REQUIREMENTS

Constraints that shaped the design

C-01 · ROLES

Existing roles. Administrator, reviewer and employee permissions had to remain the same.

C-02 · FORM ENGINE

Two form engines. The same workflow had to run on Forminator without changing the operating model.

C-03 · TWO STEP

Two-step applications. Visa Part 1 and Part 2 needed to render as one case.

C-04 · PAYMENT GATE

Payment gate. Non-admin staff only see applications after payment is completed.

03 · TOPOLOGY AND NODES

From form entry to reviewer action

ENTRY TO DECISION · REVIEW QUEUE
ROLE GATED
QUEUE READ PATH AND CASE STATE

Applicant → Form API → Role gate → Queue → Case view → Letters. The applicant submits a Forminator entry. The portal checks role and payment scope, builds the queue, merges Visa Part 1 and Part 2 when present, and records status, assignment and notes.

04 · LIFECYCLE FLOWS

Three paths through the review queue

New application queue

SUCCESS
  1. 01Applicant submits a Visa or ESTA form.
  2. 02Forminator saves the entry with a default triage status.
  3. 03The portal checks role and payment scope.
  4. 04Staff search, open and review the case.
  5. 05Status, assignment and notes update the entry.

Returning case review

RECOVERY
  1. 01Staff filter the queue by status, employee or completion state.
  2. 02The portal paginates results at fifteen per page.
  3. 03An empty result keeps the filters visible.
  4. 04Assigned work stays with the current employee.
  5. 05An administrator can reassign an entry.

Two-step Visa case

IDEMPOTENT
  1. 01Visa Part 2 is submitted with a reference to Part 1.
  2. 02The portal merges both entries in one case view.
  3. 03If Part 2 is missing, the case shows the Part 1 state.
  4. 04An email mismatch is surfaced for staff review.
  5. 05Both records remain independently stored.
05 · ARCHITECTURAL DECISION RECORDS

Evaluated options and trade-offs

ADR-001 · D1

Form engine boundary

ACCEPTED & DEPLOYED
OPTIONS EVALUATED

A) Port Gravity Forms code

B) Rebuild on Forminator APIs

CHOSEN DECISION

Rebuild on Forminator APIs

INTEGRATION
RATIONALE

The portal needed native entry queries, metadata and lifecycle hooks, so it was rebuilt around Forminator.

ENGINEERING TRADE-OFF

Some operating assumptions had to be reimplemented.

ADR-002 · D2

Role scoping

ACCEPTED & DEPLOYED
OPTIONS EVALUATED

A) Shared staff queue

B) Role and application scope

CHOSEN DECISION

Role and application scope

ACCESS
RATIONALE

Reviewers and employees needed different visibility while sharing the same case model.

ENGINEERING TRADE-OFF

Every query and action needs the same scope check.

ADR-003 · D3

Two-step case view

ACCEPTED & DEPLOYED
OPTIONS EVALUATED

A) Two separate entries

B) Merged case view

CHOSEN DECISION

Merged case view

WORKFLOW
RATIONALE

Staff should review a Visa application as one case, not two disconnected records.

ENGINEERING TRADE-OFF

The view must handle missing or mismatched Part 2 data.

06 · SECURITY CONTROLS

Access and case controls

1. Role gates

Every portal surface checks capability

2. Assignment scope

Employees see their own and unassigned work

3. Action scope

Status, assignment and notes respect role scope

4. Payment gate

Non-admin queue requires completed payment

5. PDF letters

Generated from controlled templates

6. Notes history

Case notes stay with the entry

07 · OUTCOMES

What the portal now supports

WHAT HOLDS TRUE
  • The same review model runs on Forminator without changing staff workflow.
  • Reviewers get a searchable queue with assignment, status and notes.
  • Visa Part 1 and Part 2 appear as one case view.
  • Approval and rejection letters are generated as PDFs.
  • Applicants can check status by email without entering the staff portal.
What I would improve (Engineering Self-Critique)
  • Add a durable audit log, not only notes history.
  • Move assignment storage to one canonical identifier.
  • Add automated tests around scoped queries and action handlers.
08 · RETROSPECTIVE

Transferable engineering principles

PRINCIPLE 01

Port the operating model, not the code. Forminator needed its own integration.

PRINCIPLE 02

Access rules belong in the data query, not only in the screen.

Continue reading

UP NEXT IN ARCHITECTURE DOSSIERS

Next Case Study → LatePoint Data Encryption Plugin

Application-layer protection for sensitive booking records, with keys held outside the web root.

Architecture & Payment Infrastructure
Open to New Work

Need a system architected like this?

Available for architecture advisory, custom PHP payment gateway bridges and resilient distributed workflows.

PORT: 443/TLS·LOCATION: Rajkot, India / Remote·STATUS: Available for Eng Interviews
UTC+5:30 · P99 RESPONSE: < 24H