Our Work

Committed to enhancing justice: How CPS used innovation to create a revolutionary Case Management System

Cloud & Platforms Data

The Crown Prosecution Service (CPS) prosecutes criminal cases that have been investigated by the police and other investigative organisations in England and Wales. It makes its decisions independently of the police and government.

CPS’ are seeking to discover innovative ways to improve their Case Management System (CMS) to save time and improve user experience. As the nature of crime continually evolves, CPS consistently adapts, with digital capability forming the foundational pillar of its response and commitment to enhancing justice.

esynergy partnered with CPS to modernise its infrastructure and make their CMS more efficient. This collaboration aimed to accelerate CPS’s digital transformation and support improving prosecution rates, and reducing case backlogs. The central focus for the project was to find a viable technical solution for seamless connection to the CMS, enabling users to easily review, redact, and search case records.

The project commenced with a discovery phase, where the teams identified the complexities in managing two separate CMS. A crucial step involved rapid prototyping and highly specific user research (UR) to pinpoint issues faced by CMS users and assess if these problems were recurring patterns within CPS. The existing case management process relied on a browser-based CMS application with an Oracle database backend and a Microsoft ASP.NET frontend. Accessing case data and documents within the CMS was previously restricted for third-party applications due to the sensitivity of its production data. Consequently, users had to manually redact and search cases, leading to inefficiency.

The solution, named Casework App, was developed using serverless architecture, leveraging infrastructure-as-code principles and CI/CD processes. In building the Casework App, multiple approaches were explored to interface with the legacy system and connect to the CMS.

Upon realising that direct CMS endpoint connection was impossible, the teams responded innovatively by pivoting and building their own CMS integration called DDEI (Direct Document Extraction and Ingestion). Taking ownership of an internal digital product and its infrastructure marked a first for CPS. The approach revolved around the reuse of API interfaces already exposed by the legacy application. System analysis identified well-structured and stable GraphQL and SOAP APIs integrated into the CMS. To streamline access, a RESTful API was developed to serve as a controlled facade over these existing APIs.

I love it. Absolutely brilliant… That would save us huge amounts of time. Immediately I feel more secure in working."

-Anonymous user

The collaborative effort resulted in a revolutionary system being built, pioneering the strangler pattern approach within CPS with best-of-breed software engineering practices. Some of the outcomes are listed below;

  • A fully cloud-native technology solution
  • Automated CI/CD pipelines
  • Agile ways of working were implemented
  • Collaborative UR approaches were scalable at great speed
  • 100% test automation
  • Azure DevOps pipelines were introduced
  • Azure and its components were utilised for central text extraction and search indexing functionalities
  • IaC was introduced and coded using Terraform
  • End-to-end integration and penetration testing

By improving the case management process, CPS has realised new value from the first phase of replacing its CMS;

Unblocking development

Reusing existing facilities to unblock project development due to lengthy timeframes imposed by the third-party supplier.

Transforming data structure

Transforming the data structure returned by the underlying legacy API, DDEI can now present an optimised API surface to the remainder of the Casework App solution.

Improving performance

Reusing existing CMS APIs has resulted in the load on the underlying system imposed by a user using the Casework App closely matching the load if the user was directly using CMS for the equivalent task.

Improving uptime

Utilising DDEI as a layer on top of the existing CMS functionality, the uptime is equivalent to the CMS application.

Ensuring auditability

Operations made by the Casework App users via DDEI flow through existing APIs and so are subject to identical audit logging as when the same operations are made through CMS.

Releasing value

Reusing existing APIs in new ways releases extra value from historical investments made by CPS.

Cost savings

Scalable use of the cloud allows for changes in traffic demand.


As a point of abstraction with an agreed data contract with downstream systems, DDEI could be replaced by a purpose-built API at a later point, without needing to change any other parts of the Casework App solution. DDEI is already demonstrating itself as a key enabler for CPS to extricate itself from its incumbent legacy case management system, democratizing access to key data held in that and other key strategic applications are already depending on DDEI.

Working with esynergy to develop the Casework App has been a substantial step forward for CPS. It has simplified our case management process, making it more efficient and user-centred. This development not only represents a technical advancement through Agile methodology at scale, but showcases a successful collaboration where we leveraged existing APIs to deliver a solution that meets our current needs, while providing a framework for future digital products and innovations."

-Peter Haddock
Head of Digital Solutions & Innovation, CPS

In addition to providing added value, the new CMS has unquestionably played a crucial role in supporting CPS in their mission to achieve justice efficiently. Since October 2023, the team has implemented over 500 improvements to the Casework App based on user feedback and suggestions. One of the biggest improvements to date has been the integration of the Casework App with CPS’s redaction log system, automating a previously intrusive and time-consuming process for CMS users and increasing expected time savings. This support is exemplified in the substantial time saved by CMS users when reviewing cases. On average, users save eleven minutes per case review and thirteen minutes when redacting each case. This translates to an estimated one-hour daily timesaving for prosecutors and a combined total of 18,000 hours saved to date and allows prosecutors to focus on reducing the case backlog.


From a recent benefits analysis, the Casework App is expected to save pre-charge review activity 60,953 hours per year and 51,098 hours per year for post-charge review activity. Given the current run rate, the Casework App is expected to save over 160,000 hours over the next 12 months, which is more than 40% above the original forecast for the first 12 months. Given the substantial user base of 3,000 daily users, the impact on prosecution rates is expected to be significant.

On average, it takes me about 15 minutes to triage a case using classic CMS, whereas if I'm using the Casework App, it's probably like 5-6 sort of minutes to check through everything. It's much quicker because in Classic you have to click view to open every document and it's quite slow sometimes and then you have to click again to open the link [...] whereas this is just right in front of you.”

-Anonymous user

"The Casework App has really helped me being able to see everything all there in one place and having all the documents available straight away. It basically halves the amount of time I have to take per case. It's been amazing since I've used it."

-Anonymous user

However, the Casework App represents more than just the creation of a groundbreaking system. It has fostered innovative WoW within CPS, and its API has been reused in other projects. An example of this is DDEI’s consumption for email automation which is expected to save the operations team 88,000 hours per year.

Today, the service is fully accessible throughout CPS, and the spirit of innovation continues to thrive. Current plans include integrating the Casework App with CPS’s redaction log system, which will automate a previously intrusive and time-consuming process for CMS users. Additionally, there are future endeavors to harness AI to enhance the redaction process through automated user suggestions.

The Casework App also holds a promising avenue for enhancing CPS’s Video Review Service (VRS), aimed at simplifying video access for lawyers. Through extensive UR, it was revealed that lawyers invest a considerable amount of time in video evidence review. The current VRS suffers from several pain points, including:

  • Conversion hassles: Some videos require conversion before lawyers can access them
  • Sluggish video retrieval: Locating the right videos is sluggish and demands substantial cognitive effort due to a subpar UX
  • Trust issues: There is a lack of trust in the existing CMS, leading lawyers to save their notes elsewhere
  • Data privacy checks: Lawyers bear the responsibility of ensuring videos do not contain personally identifiable information, making the process slow and laborious

By harnessing the capabilities of the Casework app, we anticipate a reduction in the time lawyers need to spend on video discovery and access. This, in turn, will elevate lawyer satisfaction and confidence during the review process. This opportunity stands to deliver significant time savings for CPS’s legal team.