# Backend

This backend customisation guide for the **Complaints Management (CMS)** covers end-to-end changes to support new business requirements. It includes:

* **Field Enhancements** – Adding new attributes (e.g., `landmark`) with updates to models, validations, enrichment logic, persistence, indexing, and search APIs.
* **Workflow Customisation** – Modifying service request lifecycles, SLA rules, and state transitions to align with department processes.
* **ID Generation** – Integrating with IDGen to produce unique complaint/reference IDs for new workflows or modules.
* **Notifications & SMS** – Configuring template-based email/SMS alerts triggered at specific workflow events to keep citizens and officials informed.

These changes ensure that CMS remains adaptable, delivering improved data capture, process automation, and citizen communication.


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.digit.org/complaints-management/complaints-resolution-v2.10/deploy/customise/backend.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
