Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
        }
      ]
    }
  ]
}

...

Indexer Config

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

...