Employee: Modify Application Details
Water and Sewerage modify application feature for employees - technical implementation doc
Objective: Provide employees with specific workflow actions.
The same screen is used for both application details and to modify application details. The page provides the details of these workflows based on the conditions.
Workflow Details
Modify Application Details
Clicking on the Application Number in the inbox/search screen/connection search routes users to the application details screen. A search call is made before rendering the screen and details are populated based on the search response.
Modify Application Details Screen
Timeline View:
Downloads
Water & Sewerage Workflow Table
Role | Action | Next State | Status |
Citizen/ Counter Employee/WS_CEMP/ SW_CEMP | INITIATE | INITIATED | INITIATED |
WS_APPROVER / SW_APPROVER | VERIFY &FORWARD | PENDINGAPPROVAL | Pending for APproval |
WS_APPROVER / SW_APPROVER | APPROVE | Approved | Approved |
WS_APPROVER / SW_APPROVER | REJECT | Rejected | Rejected |
Implementation Details
Hook details for application details search:
It is common for all modules, find the path here: https://github.com/egovernments/DIGIT-Dev/blob/develop/frontend/micro-ui/web/micro-ui-internals/packages/modules/templates/ApplicationDetails/index.js
Method Reference:
const applicationDownloadObject = { order: 3, label: t("WS_APPLICATION"), onClick: handleDownloadPdf, };
Localisation Details
Localisation keys are added in the ‘rainmaker-ws’ locale module.
Water & Sewerage Workflow:
Role | Action | Next State | Status |
Citizen/ Counter Employee/WS_CEMP/ SW_CEMP | INITIATE | INITIATED | INITIATED |
WS_APPROVER / SW_APPROVER | VERIFY &FORWARD | PENDINGAPPROVAL | Pending for APproval |
WS_APPROVER / SW_APPROVER | APPROVE | Approved | Approved |
WS_APPROVER / SW_APPROVER | REJECT | Rejected | Rejected |
API Call Role Action Mapping
S.No | API | Action ID | Roles |
---|---|---|---|
12 | / |
|
|
1 |
|
|
|
13 |
|
|
|
4 |
|
|
|
9 |
|
|
|
3 |
|
|
|
7 |
|
|
|
6 |
|
|
|
11 |
|
|
|
2 |
|
|
|
5 |
|
|
|
10 |
|
|
|
Last updated