Versions Compared

Key

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

...

Code Block
{
    "BusinessServices": [
      {

       "tenantId": "pb",
        "businessService": "NewWS1PT.CREATEWITHWNS",
        "business": "ws-servicesPT",

       "businessServiceSla": 259200000null,
 
      "states": [
 
        {
            "sla": null,
            "state": null,
            "applicationStatus": "INWORKFLOW",

           "docUploadRequired": false,
            "isStartState": true,
 
          "isTerminateState": false,
 
          "isStateUpdatable": false,
            "actions": [
              {
                "action": "OPEN",

               "nextState": "INITIATED",
                "roles": [
                  "CITIZEN",
 
                "WS_CEMP",
                ]"SW_CEMP"
              ]
   }         }
   ]       ]
   },     },
      {  {
          "sla": null,
            "state": "INITIATED",
 
          "applicationStatus": "INWORKFLOW",

           "docUploadRequired": false,
 
          "isStartState": true,
 
          "isTerminateState": false,
            "isStateUpdatable": true,
 
          "actions": [
 
            {

               "action": "SUBMIT",
                "nextState": "APPROVED",
                "roles": [
 
                "CITIZENEMPLOYEE",
                  "WS_CEMPCITIZEN",
                ]"SW_CEMP",
                "WS_CEMP"
              ]
            },
            {
              "action": "BACK",
              "nextState": "INWORKFLOW",
              "roles": [
                "EMPLOYEE",
                "CITIZEN",
                "SW_CEMP",
                "WS_CEMP"
              ]
            }
          ]
        },
        {
          "sla": null,
          "state": "INWORKFLOW",
          "applicationStatus": "INWORKFLOW",
          "docUploadRequired": false,
          "isStartState": true,
          "isTerminateState": false,
          "isStateUpdatable": true,
          "actions": [
            {
              "action": "SUBMIT",
              "nextState": "APPROVED",
              "roles": [
                "EMPLOYEE",
                "CITIZEN",
                "SW_CEMP",
                }"WS_CEMP"
              ]
            },
          ]
        },
      {  {
          "sla": null,

           "state": "APPROVED",
            "applicationStatus": "ACTIVE",
 
          "docUploadRequired": false,
 
          "isStartState": false,
            "isTerminateState": true,
            "isStateUpdatable": false,
            "actions": null

         }
        ]
      }
 
  ]
}
 }

Indexer config for water-service:

...