...
Code Block |
---|
{ “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": "REJECTSEND_BACK", "nextState": "REJECTEDINITIATED", "roles": [ "WS_APPROVER" ] }, ] { }, { "action": "REJECT", "sla": null, "statenextState": "REJECTED", "applicationStatusroles": "REJECTED",[ "isStateUpdatable": false, "WS_APPROVER" "docUploadRequired": false, ] "isStartState": false, } "isTerminateState": true] }, { "sla": null, "state": "APPROVEDREJECTED", "applicationStatus": "APPROVEDREJECTED", "isStateUpdatable": false, "docUploadRequired": false, "isStartState": false, "isTerminateState": true }, ] { } ] } |
Sewerage Service WF Config:
...
|
...
"sla": |
...
null, |
...
|
...
|
...
|
...
" |
...
state": |
...
"APPROVED", |
...
" |
...
applicationStatus": " |
...
APPROVED", " |
...
isStateUpdatable": false, " |
...
docUploadRequired": false, " |
...
isStartState": false, |
...
"isTerminateState": true
}
]
}
]
}
|
Sewerage Service WF Config:
Code Block |
---|
{ “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, "businessServiceSlaisStateUpdatable": 259200000false, "statesactions": [ { "slaaction": null"INITIATE", "statenextState": null"INITIATED", "applicationStatusroles": null, [ "docUploadRequired": false,SW_CEMP" "isStartState": true,] "isTerminateState": false, } "isStateUpdatable": false,] }, "actions": [ { { "sla": null, "actionstate": "INITIATEINITIATED", "nextStateapplicationStatus": "INITIATED", "rolesdocUploadRequired": [false, "SW_CEMP" "isStartState": false, ] "isTerminateState": false, }"isStateUpdatable": true, ]"actions": [ }, { { "slaaction": null,"SUBMIT_APPLICATION", "statenextState": "INITIATEDPENDING_FOR_APPROVAL", "applicationStatusroles": "INITIATED",[ "docUploadRequired": false, "SW_CEMP" "isStartState": false, "isTerminateState": false,] "isStateUpdatable": true, } "actions":] [ }, { { "actionsla": "SUBMIT_APPLICATION"86400000, "nextStatestate": "PENDING_FOR_APPROVAL", "rolesapplicationStatus": ["PENDING_FOR_APPROVAL", "SW_CEMP" "docUploadRequired": false, ] "isStartState": false, }"isStateUpdatable": true, ] "isTerminateState": false, }, "actions": [ { { "sla": 86400000, "stateaction": "PENDINGAPPROVE_FOR_APPROVALCONNECTION", "applicationStatusnextState": "PENDING_FOR_APPROVALAPPROVED", "docUploadRequiredroles": false,[ "isStartState": false, "SW_APPROVER" "isStateUpdatable": true, ] "isTerminateState": false, "actions": [}, { "action": "APPROVESEND_CONNECTIONBACK", "nextState": "APPROVEDINITIATED", "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 } ] } ] } |
...
https://github.com/egovernments/configs/tree/master/egov-persister/sewerage-persist.yml
applicationtype, dateeffectivefrom added in the queries against eg_sw_connection table
New insert and update query added for table eg_sw_connectionholder added for topics “save-sw-connection” and “update-sw-connection”.
Added locality column in eg_sw_connection table
Latest file as per v2.2 feature is - https://github.com/egovernments/configs/blob/ec99dd953393cc5307baba5f09f363801bed275e/egov-persister/sewerage-persist.yml
https://github.com/egovernments/configs/tree/master/egov-persister/water-persist.yml
applicationtype, dateeffectivefrom added in the queries against eg_ws_connection table
New insert and update query added for table eg_ws_connectionholder added for topics “save-ws-connection” and “update-ws-connection”.
Added locality column in eg_ws_connection table
Latest file as per v2.2 feature is - https://github.com/egovernments/configs/blob/5c3ffee5d416d2c083b6b67fd60242b80e558514/egov-persister/water-persist.yml
https://github.com/egovernments/configs/pull/463/commits/495d5c604a5f5d6dba689efabb40dfe2b0652aa9
Indexer Config
Update the indexer file for water and sewerage both. Replace both files as mentioned below.
...