> For the complete documentation index, see [llms.txt](https://docs.digit.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digit.org/complaints-management/design/architecture/solution-architecture.md).

# Solution Architecture

## Architecture Overview

Below is a high-level architecture diagram of the complaint management:

<figure><img src="https://content.gitbook.com/content/xNs29HvQfLFAPZCcDd7D/blobs/R1b3btUgTbokjOdQESO1/Screenshot%202025-07-15%20at%205.53.02%E2%80%AFPM.png" alt=""><figcaption></figcaption></figure>

The diagram below shows a detailed component breakdown:

<figure><img src="https://content.gitbook.com/content/xNs29HvQfLFAPZCcDd7D/blobs/PAUMqFojQZIu1yxeM2mp/Citizen%20Complaint%20Resolution%20System%20-%20Architecture%20Overview.png" alt=""><figcaption></figcaption></figure>

### Workbench UI

The workbench provides a UI interface to create, search and edit master data for all services on the DIGIT platform. It works with MDMS v2. For more information on the workbench, please [refer here](https://docs.digit.org/workbench).&#x20;

### Employee Service & UI (HRMS)

Used to create, edit, search & map employees to roles. Roles are defined as master data. The GRO, CSR & LME roles in CCRS are assigned to employees. For more information, please see the employee service.

### Inbox Service (v2)

The complaint management utilises the inbox service to populate employee inboxes with the correct action items that require their immediate attention regarding complaints. Inbox (v2) works against Elasticsearch indexes, which are populated by the Complaints service. The query is written as a configuration and stored as master data.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.digit.org/complaints-management/design/architecture/solution-architecture.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
