Every legal aid matter in one system, from first visit to case closure

A case and workflow management system for the Commission's head office and centres. Staff record every matter through a structured workflow, and the Commission's statutory returns are produced by the system.

Client
Legal Aid Commission of Sri Lanka and the United Nations Development Programme (UNDP)
Sector
Government, justice
Delivered in
9 months
A centre's dashboard: total, active and laid-by cases, open tokens and the officer's calendar
Preview of a court procedure as officers will see it: the steps of the case and the documents to file

The client

The Legal Aid Commission of Sri Lanka gives legal aid to people who need it, through its head office and centres across the country.

The problem

The work was done by hand. Information was recorded without a common structure, reports arrived late, and nobody could see where matters were held up.

Centres have limited staff, and compiling returns took officers' time.

The monthly return: cases brought forward, filed, concluded and pending by category, with a spreadsheet download

What we built

A case management system the Commission configures itself

The system takes a person seeking legal aid from first contact at a centre through consultation, the eligibility decision, the opening of a case, the court procedure and closure. Records, documents, court dates and returns for that work are kept in one place.

  • Client register and intake

    One record per person, with a token opened for each visit.

  • Six stages for every matter

    From client intake to case closure, shown as a progress rail on every record.

  • Configurable court procedures

    Administrators define the steps and form fields for each case type, court and party, preview them and publish.

  • Approvals

    Sensitive actions are requested by one person and decided by another, with the reason recorded.

  • Documents

    Recorded against each matter. Originals are tracked until they are handed back at closure.

  • Calendar and notifications

    Court dates entered in a step appear on the officer's calendar.

  • Statutory returns

    Monthly, quarterly and annual returns in the Commission's own layout, exported to Excel.

  • Three languages

    English, Sinhala and Tamil, with an audit trail of significant actions.

The steps of a court procedure in the workflow editor, with one step selected

How it was delivered

  • Changes without a software release

    A new workflow version is published by the Commission. Cases already under way keep the version they started on.

  • Returns that can be run again

    A return for any past month gives the same totals whenever it is produced.

  • Existing registers brought in

    Pending cases from the Commission's paper and spreadsheet registers were checked with the Commission and loaded alongside live work.

Built with Next.js, NestJS, MongoDB, Redis

The result

Staff now record every matter through a structured workflow for its case type, and the Commission's monthly, quarterly and annual returns are produced by the system.

  • Managers can see where matters are waiting, across every centre.
  • Administrators create workflows for case types without a developer, and centres enter data as the published workflow requires.
  • A client's case history is in one place, and duplicate records are avoided.
  • Manual reporting is gone, which saves officers time.
  • Panel lawyers can keep track of their cases.
A case imported from the Commission's pending cases register, with its court, current step and the six stages of a matter