W&S Promotion Document v2.2

Description:

The Water & Sewerage module deals with the process of applying and managing water & sewerage connections. This module has both Citizen and employee-facing components. As part of Phase 4, the citizen has the ability to Modify connections and add “Connection Holder” for a connection who is a non-property owner but can access the connection information and receive bills and pay accordingly. The Counter Employee can initiate the Modify Connection application and the same can be approved by the Approver Employee.

Notes:

Actors: Citizen, Counter Employee, Approver

Technical Documents:

Please find the updated technical document for the Water & Sewerage module at the below link:

Water Service Technical Document - Water Service - Technical Document

Sewerage Service Technical Document - Sewerage Service - Technical Document

Promotion Steps (updates from previous version):

Backend

Role Configuration:

There are no changes in Role configuration from the previous version

Endpoints

There are no changes in the endpoints. 

Users:

  • Employee with ULB level access 

  • Citizen associated with an ULB

Workflow config 

We need to create the WF config in BusinessService for ModifyConnection feature. To do that call the “_create” API in BusinessService and add the below JSON content in the request body.

Businees Service Request URI - https://egov-micro-dev.egovernments.org/egov-workflow-v2/egov-wf/businessservice/_create

Modify Water Connection WF Config:

{ “RequestInfo” : { “authToken” : “authTokenValue” }, "BusinessServices": [ { "tenantId": "pb", "businessService": "ModifyWSConnection", "business": "ws-services", "businessServiceSla": 259200000, "states": [ { "sla": null, "state": null, "applicationStatus": null, "docUploadRequired": false, "isStartState": true, "isTerminateState": false, "isStateUpdatable": false, "actions": [ { "action": "INITIATE", "nextState": "INITIATED", "roles": [ "WS_CEMP" ] } ] }, { "sla": null, "state": "INITIATED", "applicationStatus": "INITIATED", "docUploadRequired": false, "isStartState": false, "isTerminateState": false, "isStateUpdatable": true, "actions": [ { "action": "SUBMIT_APPLICATION", "nextState": "PENDING_FOR_APPROVAL", "roles": [ "WS_CEMP" ] } ] }, { "sla": 86400000, "state": "PENDING_FOR_APPROVAL", "applicationStatus": "PENDING_FOR_APPROVAL", "docUploadRequired": false, "isStartState": false, "isStateUpdatable": true, "isTerminateState": false, "actions": [ { "action": "APPROVE_CONNECTION", "nextState": "APPROVED", "roles": [ "WS_APPROVER" ] }, { "action": "SEND_BACK", "nextState": "INITIATED", "roles": [ "WS_APPROVER" ] }, { "action": "REJECT", "nextState": "REJECTED", "roles": [ "WS_APPROVER" ] } ] }, { "sla": null, "state": "REJECTED", "applicationStatus": "REJECTED", "isStateUpdatable": false, "docUploadRequired": false, "isStartState": false, "isTerminateState": true }, { "sla": null, "state": "APPROVED", "applicationStatus": "APPROVED", "isStateUpdatable": false, "docUploadRequired": false, "isStartState": false, "isTerminateState": true } ] } ] }

Sewerage Service WF Config:

 

{ “RequestInfo” : { “authToken” : “authTokenValue” }, "BusinessServices": [ { "tenantId": "pb", "businessService": "ModifySWConnection", "business": "sw-services", "businessServiceSla": 259200000, "states": [ { "sla": null, "state": null, "applicationStatus": null, "docUploadRequired": false, "isStartState": true, "isTerminateState": false, "isStateUpdatable": false, "actions": [ { "action": "INITIATE", "nextState": "INITIATED", "roles": [ "SW_CEMP" ] } ] }, { "sla": null, "state": "INITIATED", "applicationStatus": "INITIATED", "docUploadRequired": false, "isStartState": false, "isTerminateState": false, "isStateUpdatable": true, "actions": [ { "action": "SUBMIT_APPLICATION", "nextState": "PENDING_FOR_APPROVAL", "roles": [ "SW_CEMP" ] } ] }, { "sla": 86400000, "state": "PENDING_FOR_APPROVAL", "applicationStatus": "PENDING_FOR_APPROVAL", "docUploadRequired": false, "isStartState": false, "isStateUpdatable": true, "isTerminateState": false, "actions": [ { "action": "APPROVE_CONNECTION", "nextState": "APPROVED", "roles": [ "SW_APPROVER" ] }, { "action": "SEND_BACK", "nextState": "INITIATED", "roles": [ "SW_APPROVER" ] }, { "action": "REJECT", "nextState": "REJECTED", "roles": [ "SW_APPROVER" ] } ] }, { "sla": null, "state": "REJECTED", "applicationStatus": "REJECTED", "isStateUpdatable": false, "docUploadRequired": false, "isStartState": false, "isTerminateState": true }, { "sla": null, "state": "APPROVED", "applicationStatus": "APPROVED", "isStateUpdatable": false, "docUploadRequired": false, "isStartState": false, "isTerminateState": true } ] } ] }

PDF Templates

Data Config Changes :

Format Config Changes:

Persister Config

Indexer Config

  • Update the indexer file for water and sewerage both. Replace both files as mentioned below.

  1. https://github.com/egovernments/configs/blob/master/egov-indexer/water-service.yml

  2. https://github.com/egovernments/configs/blob/master/egov-indexer/sewerage-service.yml

Egov-Searcher Config

  • No changes in searcher file

Infra Ops Config

No changes

MDMS Changes

Localisation File

https://docs.google.com/spreadsheets/d/1JTnaV1BDtFWPIX_h4y2WtmGKB-lEthTyCfnDjKzHMSE/edit#gid=0  

Refer the new sheet named “Connection Holder”

Service Builds

Module

Image Details

Billing Service

billing-service:v1.1.1-33b0fcf-14

Property Service

property-services:v1.1.0-c4f9b279-48

PDF Service

pdf-service:v1.1.0-09b11d9

Employee

employee:v1.2.0-64a86d7d2-272

Citizen

citizen:v1.2.0-64a86d7d2-262

WS-Service

ws-services:v1.1.0-28617974-28

WS-Calculator

ws-calculator:v1.1.0-4c3c8873-6

SW-Service

sw-services:v1.1.0-ae23de49-12

SW-Calculator

sw-calculator:v1.1.0-fee435c1-2

Egov-Searcher

egov-searcher:v1.1.0-59d3598

Collection Service

collection-services:v1.1.0-33b0fcf-12

Apportion Service

egov-apportion-service:v1.1.2-3436cd5-4


Swagger API

Postman Collection

Postman collection for Create Water and Sewerage API’s

  1. https://www.getpostman.com/collections/b6cd12cda7caaa2d4580 (Water service)

  2. https://www.getpostman.com/collections/c5ce66e0c8c263b40444 (WS Calculation Service)

  3. https://www.getpostman.com/collections/27458a8c6249d786317c (Sewerage service and calculation service)

Features Covered as part of Edit Connection Release

Module

Feature

Citizen

Create a Water / Sewerage connection for property which is belongs to others.

Citizen

Assign others as “Connection Holder” while creating Water / Sewerage Connection

Citizen

Connection Holder will receive all notification (also property owner)

Citizen

Bill & Receipt will be generated in the name of Connection Holder (when a person assigned as Connection Holder).

Citizen

Connection Holder can view the updates of the Application and also Connection details.

Citizen

Search based on Connection Holder’s mobile number

Employee

Assign non-property owner as Connection Holder while applying a new Water / Sewerage connection

Employee

Modify property details for a New Water / Sewerage Connection (if there are no pending due).

Employee

Modify Connection Holder details for a New Water / Sewerage Connection 

Backend

Allow adding a Connection Holder for a connection who is not the property owner

Backend

Provide WF progress validation for Modify Connection

Backend

Provide search functionality for ConnectionHolder mobile number

Backend

Restrict Demand generation until the “DateEffectiveFrom” value mentioned in the Modify Connection application

Backend

Restrict creation of new Modify application when the previous application is in-progress

Backend

Send notification to Property Owner as well as Connection Holder if assigned against a Connection