NOC SEARCH PREVIEW

 

Every application is a part of the workflow.

Search-Preview :

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

To load search preview page egov-workflow-v2/egov-wf/process/_search?businessIds=PB-NOCSRV-2020-08-03-000256&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.

 

NOC Workflow :

Role

Action

Next State

Status

Role

Action

Next State

Status

BPA_ARCHITECT/BPA_ENGINEER/BPA_BUILDER/BPA_STRUCTURALENGINEER/BPA_TOWNPLANNER/BPA_SUPERVISOR

INITIATE

INPROGRESS

INITIATED

BPA_VERIFIER/BPA_FIELD_INSPECTOR/BPA_NOC_VERIFIER

INPROGRESS

APPROVE

INPROGRESS

FIRE_NOC_APPROVER

APPROVE

APPROVED

APPROVED

API Call Role Action mapping:

API

Action id

Roles

API

Action id

Roles

1

/egov-mdms-service/v1/_search

954

LOA_CREATOR,SUPERUSER,WO_CREATOR,AE_CREATOR,WORKS_MASTER_CREATOR,

2

/noc-services/v1/noc/_update

2002

BPA_ARCHITECT, CITIZEN, EMPLOYEE

3

/filestore/v1/files/url

1528

SUPERUSER,EMPLOYEE,CITIZEN,GRO,DGRO,

4

/noc-services/v1/noc/_search

2001

CITIZEN, EMPLOYEE