Water & Sewerage Application-Workflow

Water&Sewerage Workflow

Objective:

When water/sewerage Application gets registered it goes through several validation processes. These validation steps are called Workflow. Workflow we are calling in search-preview page.

Source Path : https://github.com/egovernments/frontend/blob/master/web/rainmaker/dev-packages/egov-wns-dev/src/ui-config/screens/specs/wns/search-preview.js

To load search preview page egov-workflow-v2/egov-wf/process/_search?businessIds=WS_AP/107/2020-21/062669&history=true&tenantId=pb.amritsar API should return workflow history.

The topmost card is mainly rendered using the workflow response.https://github.com/egovernments/frontend/blob/master/web/rainmaker/dev-packages/egov-workflow-dev/src/ui-molecules-local/TaskStatusComponents/index.js

View History Buttons gives the list of workflow actions performed on the application.

Water & Sewerage workflow

Role

Credentials

Action

Next State

Status

Role

Credentials

Action

Next State

Status

Citizen/ Counter Employee/WS_CEMP/ SW_CEMP

8840903463 /

EMP-107-000258

INITIATE

INITIATED

INITIATED

Citizen/Counter Employee/WS_CEMP / SW_CEMP

8840903463 /

EMP-107-000258

EDIT

EDIT/ DOCUMENTVERIFICATION

Pending for Document Verification

Citizen/Counter Employee/WS_CEMP / SW_CEMP

8840903463 /

EMP-107-000258

Send Back to Citizen

Pending for Citizen Action



Pending for Citizen Action

WS_DOC_VERIFIER / SW_DOC_VERIFIER

EMP-107-000258

VERIFY &FORWARD

FIELDVERIFICATION

Pending for Field Verification

WS_FIELD_INSPECTOR / SW_FIELD_INSPECTOR

EMP-107-000258

VERIFY &FORWARD

PENDINGAPPROVAL

Pending for APproval

WS_APPROVER / SW_APPROVER

EMP-107-000259

APPROVE

PENDINGPAYMENT

Pending for Payment

Citizen/Counter Employee/WS_CEMP / SW_CEMP

8840903463 / EMP-107-000259

PAY

Approved

Approved

 

WS_APPROVER / SW_APPROVER

EMP-107-000259 /EMP-107-000258

REJECT

Rejected

Rejected

WS_CLERK/SW_CLERK

EMP-107-000259

Activate Connection

Connection activated

Connection activated

Employee Roles and Credentials

Employee Role

User Name

Password

ULB

Employee Role

User Name

Password

ULB

Counter Employee/ WS_CEMP

EMP-107-000258

76xp8pm2

Amritsar

Doc Verifier/WS_DOC_VERIFIER

EMP-107-000258

76xp8pm2

Amritsar

Field Inspector/WS_FIELD_INSPECTOR

EMP-107-000258

76xp8pm2

Amritsar

Approver/ WS_APPROVER

EMP-107-000259

x2bW8mP0

Amritsar

Clerk/WS_CLERK

EMP-107-000259

x2bW8mP0

Amritsar

API Call Role Action mapping:

API

Action id

Roles

API

Action id

Roles

1

/access/v1/actions/mdms/_get

870

CSR, GRO,DGRO,EMPLOYEE,CITIZEN,PGR-ADMIN,EMPLOYEE_FINANCE,TL_APPROVER,TL_CEMP,SUPERUSER,COLL_OPERATOR,BANK_COLL_OPERATOR,CSC_COLL_OPERATOR,DMA OFFICE OFFICER,ULB OFFICER,COMMISSIONER

2

/user/_search

604

SUPERUSER,SYS_INTEGRATOR_FINANCE,SYS_INTEGRATOR_WATER_SEW,EGF_BILL_CREATOR,EMPLOYEE,EMPLOYEE_FINANCE

3

/localization/messages/v1/_search

1531

SUPERUSER,EMPLOYEE,CITIZEN,GRO,DGRO

4

/egov-workflow-v2/egov-wf/businessservice/_search

1743

EMPLOYEE,CITIZEN,SUPERUSER

5

/ws-services/wc/_search

1900

CITIZEN,WS_CEMP,WS_DOC_VERIFIER,WS_FIELD_INSPECTOR,WS_APPROVER,WS_CLERK

6

/sw-services/swc/_search

1940

CITIZEN,SW_CEMP,SW_DOC_VERIFIER,SW_FIELD_INSPECTOR,SW_CLERK

7

/property-services/property/_search

1897

CITIZEN, PT_CEMP,PT_DOC_VERIFIER,PT_FIELD_INSPECTOR,PT_APPROVER

8

/ws-services/wc/_create

1899

CITIZEN,WS_CEMP

9

/filestore/v1/files/url

1528

DGRO,SUPERUSER,CITIZEN,EMPLOYEE,GRO

10

/ws-services/wc/_update

1901

CITIZEN,WS_CEMP,WS_DOC_VERIFIER,WS_FIELD_INSPECTOR,WS_APPROVER,WS_CLERK

11

/sw-services/swc/_update

1939

CITIZEN,SW_CEMP,SW_DOC_VERIFIER,SW_FIELD_INSPECTOR,SW_CLERK

12

/ws-calculator/waterCalculator/_estimate and /sw-calculator/sewerageCalculator/_estimate

1966,

1967

CITIZEN,WS_CEMP,WS_DOC_VERIFIER,WS_FIELD_INSPECTOR,WS_APPROVER,WS_CLERK

SW_CEMP,SW_DOC_VERIFIER,SW_FIELD_INSPECTOR,SW_CLERK

13

/egov-hrms/employees/_search

1752

CSR, GRO,DGRO,EMPLOYEE,CITIZEN,TL_APPROVER,TL_CEMP,SUPERUSER,TL_DOC_VERIFIER,TL_FIELD_INSPECTOR

 

Â