Data Loading Steps For Residential Construction Permit System

Add Tenant/Urban Local Body Data

To onboard a new Urban Local Body (ULB) or tenant for the Residential Construction Permit System modules, follow the steps given below:

  1. Add data in MDMS.

  2. To show the tenant at the login screen - tenant/tenants.json

  3. To enable ULB to create an application, add a tenant in the module - tenant/citymodule.json

  4. Add EDCR folder in MDMS. It includes :

  5. To upload a FireNOC file, add "applicationType": "NEW","nocType": "FIRE_NOC", in DocumentTypeMapping.

  6. Select License Type Values in the Provide License Type screen - TradeLicense/TradeType.json

  7. Stakeholder Registration Fee - Add TradeTypetoRoleMapping in mdms.

  8. Add TaxPeriod and TaxHeadMaster to the Billing Service folder in the MDMS.

  9. Add boundary data specific to the tenant.

  10. Provide ID Format.

  11. Provide Gender Type.

  12. Restart the mdms service and check the status in ui. The tenant will be added in ui.

  13. Create login credentials for applicable users.

  14. Push the localisations as provided in the API collection.

  15. Push the BPA workflow.

Loading BPA Workflow

API Collection

// [
  {
    "tenantId": "ca",
    "businessService": "BPA_OC",
    "business": "bpa-services",
    "businessServiceSla": 5184000000,
    "states": [
      {
        "tenantId": "ca",
        "sla": null,
        "state": null,
        "applicationStatus": null,
        "docUploadRequired": false,
        "isStartState": true,
        "isTerminateState": false,
        "isStateUpdatable": true,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": null,
            "action": "INITIATE",
            "nextState": "SEND_TO_CITIZEN",
            "roles": [
              "BPA_ARCHITECT",
              "BPA_ENGINEER",
              "BPA_BUILDER",
              "BPA_STRUCTURALENGINEER",
              "BPA_TOWNPLANNER",
              "BPA_SUPERVISOR"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "SEND_TO_CITIZEN",
        "applicationStatus": "INITIATED",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": true,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "SEND_TO_CITIZEN",
            "action": "INITIATE",
            "nextState": "SEND_TO_CITIZEN",
            "roles": [
              "BPA_ARCHITECT",
              "BPA_ENGINEER",
              "BPA_BUILDER",
              "BPA_STRUCTURALENGINEER",
              "BPA_TOWNPLANNER",
              "BPA_SUPERVISOR"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "SEND_TO_CITIZEN",
            "action": "SEND_TO_CITIZEN",
            "nextState": "CITIZEN_APPROVAL_PENDING",
            "roles": [
              "BPA_ARCHITECT",
              "BPA_ENGINEER",
              "BPA_BUILDER",
              "BPA_STRUCTURALENGINEER",
              "BPA_TOWNPLANNER",
              "BPA_SUPERVISOR"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "CITIZEN_APPROVAL_PENDING",
        "applicationStatus": "CITIZEN_APPROVAL_INPROCESS",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "CITIZEN_APPROVAL_PENDING",
            "action": "SEND_TO_ARCHITECT",
            "nextState": "SEND_TO_CITIZEN",
            "roles": [
              "CITIZEN"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "CITIZEN_APPROVAL_PENDING",
            "action": "APPROVE",
            "nextState": "INPROGRESS",
            "roles": [
              "CITIZEN"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "INPROGRESS",
        "applicationStatus": "INPROGRESS",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "INPROGRESS",
            "action": "INITIATE",
            "nextState": "INPROGRESS",
            "roles": [
              "BPA_ARCHITECT",
              "BPA_ENGINEER",
              "BPA_BUILDER",
              "BPA_STRUCTURALENGINEER",
              "BPA_TOWNPLANNER",
              "BPA_SUPERVISOR"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "INPROGRESS",
            "action": "APPLY",
            "nextState": "PENDING_APPL_FEE_PAYMENT",
            "roles": [
              "BPA_ARCHITECT",
              "BPA_ENGINEER",
              "BPA_BUILDER",
              "BPA_STRUCTURALENGINEER",
              "BPA_TOWNPLANNER",
              "BPA_SUPERVISOR"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "PENDING_APPL_FEE_PAYMENT",
        "applicationStatus": "PENDING_APPL_FEE",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "PENDING_APPL_FEE_PAYMENT",
            "action": "ADHOC",
            "nextState": "PENDING_APPL_FEE_PAYMENT",
            "roles": [
              "CITIZEN",
              "BPA_ARCHITECT",
              "BPA_ENGINEER",
              "BPA_BUILDER",
              "BPA_STRUCTURALENGINEER",
              "BPA_TOWNPLANNER",
              "BPA_SUPERVISOR",
              "SYSTEM_PAYMENT",
              "CEMP"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "PENDING_APPL_FEE_PAYMENT",
            "action": "PAY",
            "nextState": "DOC_VERIFICATION_PENDING",
            "roles": [
              "CITIZEN",
              "BPA_ARCHITECT",
              "BPA_ENGINEER",
              "BPA_BUILDER",
              "BPA_STRUCTURALENGINEER",
              "BPA_TOWNPLANNER",
              "BPA_SUPERVISOR",
              "SYSTEM_PAYMENT",
              "CEMP"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "PENDING_APPL_FEE_PAYMENT",
            "action": "SKIP_PAYMENT",
            "nextState": "DOC_VERIFICATION_PENDING",
            "roles": [
              "CITIZEN",
              "BPA_ARCHITECT",
              "BPA_ENGINEER",
              "BPA_BUILDER",
              "BPA_STRUCTURALENGINEER",
              "BPA_TOWNPLANNER",
              "BPA_SUPERVISOR",
              "SYSTEM_PAYMENT",
              "CEMP"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "DOC_VERIFICATION_PENDING",
        "applicationStatus": "DOC_VERIFICATION_INPROGRESS",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "DOC_VERIFICATION_PENDING",
            "action": "SEND_BACK_TO_CITIZEN",
            "nextState": "BACK_FROM_DOC_VERIFICATION",
            "roles": [
              "BPA_VERIFIER"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "DOC_VERIFICATION_PENDING",
            "action": "FORWARD",
            "nextState": "FIELDINSPECTION_PENDING",
            "roles": [
              "BPA_VERIFIER"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "DOC_VERIFICATION_PENDING",
            "action": "REJECT",
            "nextState": "REJECTED",
            "roles": [
              "BPA_VERIFIER"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "FIELDINSPECTION_PENDING",
        "applicationStatus": "FIELDINSPECTION_INPROGRESS",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "FIELDINSPECTION_PENDING",
            "action": "FORWARD",
            "nextState": "NOC_VERIFICATION_PENDING",
            "roles": [
              "BPA_FIELD_INSPECTOR"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "FIELDINSPECTION_PENDING",
            "action": "REJECT",
            "nextState": "REJECTED",
            "roles": [
              "BPA_FIELD_INSPECTOR"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "FIELDINSPECTION_PENDING",
            "action": "SEND_BACK_TO_CITIZEN",
            "nextState": "BACK_FROM_FI_VERIFICATION",
            "roles": [
              "BPA_FIELD_INSPECTOR"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "NOC_VERIFICATION_PENDING",
        "applicationStatus": "NOC_VERIFICATION_INPROGRESS",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "NOC_VERIFICATION_PENDING",
            "action": "SEND_BACK_TO_CITIZEN",
            "nextState": "BACK_FROM_NOC_VERIFICATION",
            "roles": [
              "BPA_NOC_VERIFIER"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "NOC_VERIFICATION_PENDING",
            "action": "FORWARD",
            "nextState": "PENDINGAPPROVAL",
            "roles": [
              "BPA_NOC_VERIFIER"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "NOC_VERIFICATION_PENDING",
            "action": "REJECT",
            "nextState": "REJECTED",
            "roles": [
              "BPA_NOC_VERIFIER"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "PENDINGAPPROVAL",
        "applicationStatus": "APPROVAL_INPROGRESS",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "PENDINGAPPROVAL",
            "action": "REJECT",
            "nextState": "REJECTED",
            "roles": [
              "BPA_APPROVER"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "PENDINGAPPROVAL",
            "action": "APPROVE",
            "nextState": "PENDING_SANC_FEE_PAYMENT",
            "roles": [
              "BPA_APPROVER"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "PENDINGAPPROVAL",
            "action": "SKIP_PAYMENT",
            "nextState": "APPROVED",
            "roles": [
              "BPA_APPROVER"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "PENDING_SANC_FEE_PAYMENT",
        "applicationStatus": "PENDING_SANC_FEE_PAYMENT",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "PENDING_SANC_FEE_PAYMENT",
            "action": "ADHOC",
            "nextState": "PENDING_SANC_FEE_PAYMENT",
            "roles": [
              "CITIZEN",
              "BPA_ARCHITECT",
              "BPA_ENGINEER",
              "BPA_BUILDER",
              "BPA_STRUCTURALENGINEER",
              "BPA_TOWNPLANNER",
              "BPA_SUPERVISOR",
              "SYSTEM_PAYMENT",
              "CEMP"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "PENDING_SANC_FEE_PAYMENT",
            "action": "PAY",
            "nextState": "APPROVED",
            "roles": [
              "CITIZEN",
              "BPA_ARCHITECT",
              "BPA_ENGINEER",
              "BPA_BUILDER",
              "BPA_STRUCTURALENGINEER",
              "BPA_TOWNPLANNER",
              "BPA_SUPERVISOR",
              "SYSTEM_PAYMENT",
              "CEMP"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "PENDING_SANC_FEE_PAYMENT",
            "action": "SKIP_PAYMENT",
            "nextState": "APPROVED",
            "roles": [
              "CITIZEN",
              "BPA_ARCHITECT",
              "BPA_ENGINEER",
              "BPA_BUILDER",
              "BPA_STRUCTURALENGINEER",
              "BPA_TOWNPLANNER",
              "BPA_SUPERVISOR",
              "SYSTEM_PAYMENT",
              "BPA_APPROVER",
              "CEMP"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "APPROVED",
        "applicationStatus": "APPROVED",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": true,
        "isStateUpdatable": false,
        "actions": null
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "REJECTED",
        "applicationStatus": "REJECTED",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": true,
        "isStateUpdatable": false,
        "actions": null
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "BACK_FROM_DOC_VERIFICATION",
        "applicationStatus": "CITIZEN_ACTION_PENDING_AT_DOC_VERIF",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": true,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "BACK_FROM_DOC_VERIFICATION",
            "action": "FORWARD",
            "nextState": "DOC_VERIFICATION_PENDING",
            "roles": [
              "CITIZEN",
              "BPA_ARCHITECT"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "BACK_FROM_FI_VERIFICATION",
        "applicationStatus": "CITIZEN_ACTION_PENDING_AT_FI_VERIF",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": true,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "BACK_FROM_FI_VERIFICATION",
            "action": "FORWARD",
            "nextState": "FIELDINSPECTION_PENDING",
            "roles": [
              "CITIZEN",
              "BPA_ARCHITECT"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "BACK_FROM_NOC_VERIFICATION",
        "applicationStatus": "CITIZEN_ACTION_PENDING_AT_NOC_VERIF",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": true,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "BACK_FROM_NOC_VERIFICATION",
            "action": "FORWARD",
            "nextState": "NOC_VERIFICATION_PENDING",
            "roles": [
              "CITIZEN",
              "BPA_ARCHITECT"
            ],
            "active": true
          }
        ]
      }
    ]
  },
  {
    "tenantId": "ca",
    "businessService": "BPA_LOW",
    "business": "bpa-services",
    "businessServiceSla": 5184000000,
    "states": [
      {
        "tenantId": "ca",
        "sla": null,
        "state": null,
        "applicationStatus": null,
        "docUploadRequired": false,
        "isStartState": true,
        "isTerminateState": false,
        "isStateUpdatable": true,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": null,
            "action": "INITIATE",
            "nextState": "SEND_TO_CITIZEN",
            "roles": [
              "BPA_ARCHITECT",
              "BPA_ENGINEER",
              "BPA_BUILDER",
              "BPA_STRUCTURALENGINEER",
              "BPA_TOWNPLANNER",
              "BPA_SUPERVISOR"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "SEND_TO_CITIZEN",
        "applicationStatus": "INITIATED",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "SEND_TO_CITIZEN",
            "action": "SEND_TO_CITIZEN",
            "nextState": "CITIZEN_APPROVAL_PENDING",
            "roles": [
              "BPA_ARCHITECT",
              "BPA_ENGINEER",
              "BPA_BUILDER",
              "BPA_STRUCTURALENGINEER",
              "BPA_TOWNPLANNER",
              "BPA_SUPERVISOR"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "SEND_TO_CITIZEN",
            "action": "INITIATE",
            "nextState": "SEND_TO_CITIZEN",
            "roles": [
              "BPA_ARCHITECT",
              "BPA_ENGINEER",
              "BPA_BUILDER",
              "BPA_STRUCTURALENGINEER",
              "BPA_TOWNPLANNER",
              "BPA_SUPERVISOR"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "CITIZEN_APPROVAL_PENDING",
        "applicationStatus": "CITIZEN_APPROVAL_INPROCESS",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": true,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "CITIZEN_APPROVAL_PENDING",
            "action": "APPROVE",
            "nextState": "INITIATED",
            "roles": [
              "CITIZEN"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "CITIZEN_APPROVAL_PENDING",
            "action": "SEND_TO_ARCHITECT",
            "nextState": "SEND_TO_CITIZEN",
            "roles": [
              "CITIZEN"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "INITIATED",
        "applicationStatus": "INPROGRESS",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "INITIATED",
            "action": "INITIATE",
            "nextState": "INITIATED",
            "roles": [
              "BPA_ARCHITECT",
              "BPA_ENGINEER",
              "BPA_BUILDER",
              "BPA_STRUCTURALENGINEER",
              "BPA_TOWNPLANNER",
              "BPA_SUPERVISOR"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "INITIATED",
            "action": "APPLY",
            "nextState": "PENDING_FEE_PAYMENT",
            "roles": [
              "BPA_ARCHITECT",
              "BPA_ENGINEER",
              "BPA_BUILDER",
              "BPA_STRUCTURALENGINEER",
              "BPA_TOWNPLANNER",
              "BPA_SUPERVISOR"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "PENDING_FEE_PAYMENT",
        "applicationStatus": "PENDING_FEE",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "PENDING_FEE_PAYMENT",
            "action": "PAY",
            "nextState": "DOC_VERIFICATION_PENDING",
            "roles": [
              "CITIZEN",
              "BPA_ARCHITECT",
              "BPA_ENGINEER",
              "BPA_BUILDER",
              "BPA_STRUCTURALENGINEER",
              "BPA_TOWNPLANNER",
              "BPA_SUPERVISOR",
              "SYSTEM_PAYMENT",
              "CEMP"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "PENDING_FEE_PAYMENT",
            "action": "ADHOC",
            "nextState": "PENDING_FEE_PAYMENT",
            "roles": [
              "CITIZEN",
              "BPA_ARCHITECT",
              "BPA_ENGINEER",
              "BPA_BUILDER",
              "BPA_STRUCTURALENGINEER",
              "BPA_TOWNPLANNER",
              "BPA_SUPERVISOR",
              "SYSTEM_PAYMENT",
              "CEMP"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "DOC_VERIFICATION_PENDING",
        "applicationStatus": "DOC_VERIFICATION_INPROGRESS",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "DOC_VERIFICATION_PENDING",
            "action": "FORWARD",
            "nextState": "FIELDINSPECTION_PENDING",
            "roles": [
              "BPA_VERIFIER"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "DOC_VERIFICATION_PENDING",
            "action": "REVOCATE",
            "nextState": "REVOCATED",
            "roles": [
              "BPA_VERIFIER"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "DOC_VERIFICATION_PENDING",
            "action": "SEND_BACK_TO_CITIZEN",
            "nextState": "BACK_FROM_DOC_VERIFICATION",
            "roles": [
              "BPA_VERIFIER"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "FIELDINSPECTION_PENDING",
        "applicationStatus": "FIELDINSPECTION_INPROGRESS",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "FIELDINSPECTION_PENDING",
            "action": "REVOCATE",
            "nextState": "REVOCATED",
            "roles": [
              "BPA_FIELD_INSPECTOR"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "FIELDINSPECTION_PENDING",
            "action": "FORWARD",
            "nextState": "NOC_VERIFICATION_PENDING",
            "roles": [
              "BPA_FIELD_INSPECTOR"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "FIELDINSPECTION_PENDING",
            "action": "SEND_BACK_TO_CITIZEN",
            "nextState": "BACK_FROM_FI_VERIFICATION",
            "roles": [
              "BPA_FIELD_INSPECTOR"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "NOC_VERIFICATION_PENDING",
        "applicationStatus": "NOC_VERIFICATION_INPROGRESS",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "NOC_VERIFICATION_PENDING",
            "action": "REVOCATE",
            "nextState": "REVOCATED",
            "roles": [
              "BPA_NOC_VERIFIER"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "NOC_VERIFICATION_PENDING",
            "action": "FORWARD",
            "nextState": "PENDINGAPPROVAL",
            "roles": [
              "BPA_NOC_VERIFIER"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "NOC_VERIFICATION_PENDING",
            "action": "SEND_BACK_TO_CITIZEN",
            "nextState": "BACK_FROM_NOC_VERIFICATION",
            "roles": [
              "BPA_NOC_VERIFIER"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "PENDINGAPPROVAL",
        "applicationStatus": "APPROVAL_INPROGRESS",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "PENDINGAPPROVAL",
            "action": "REVOCATE",
            "nextState": "REVOCATED",
            "roles": [
              "BPA_APPROVER"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "PENDINGAPPROVAL",
            "action": "APPROVE",
            "nextState": "APPROVED",
            "roles": [
              "BPA_APPROVER"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "PENDINGAPPROVAL",
            "action": "REJECT",
            "nextState": "REJECTED",
            "roles": [
              "BPA_APPROVER"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "APPROVED",
        "applicationStatus": "APPROVED",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": true,
        "isStateUpdatable": false,
        "actions": null
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "REVOCATED",
        "applicationStatus": "REVOCATED",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": true,
        "isStateUpdatable": false,
        "actions": null
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "REJECTED",
        "applicationStatus": "REJECTED",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": true,
        "isStateUpdatable": false,
        "actions": null
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "BACK_FROM_DOC_VERIFICATION",
        "applicationStatus": "CITIZEN_ACTION_PENDING_AT_DOC_VERIF",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": true,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "BACK_FROM_DOC_VERIFICATION",
            "action": "FORWARD",
            "nextState": "DOC_VERIFICATION_PENDING",
            "roles": [
              "CITIZEN"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "BACK_FROM_FI_VERIFICATION",
        "applicationStatus": "CITIZEN_ACTION_PENDING_AT_FI_VERIF",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": true,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "BACK_FROM_FI_VERIFICATION",
            "action": "FORWARD",
            "nextState": "FIELDINSPECTION_PENDING",
            "roles": [
              "CITIZEN"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "BACK_FROM_NOC_VERIFICATION",
        "applicationStatus": "CITIZEN_ACTION_PENDING_AT_NOC_VERIF",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": true,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "BACK_FROM_NOC_VERIFICATION",
            "action": "FORWARD",
            "nextState": "NOC_VERIFICATION_PENDING",
            "roles": [
              "CITIZEN"
            ],
            "active": true
          }
        ]
      }
    ]
  },
  {
    "tenantId": "ca",
    "businessService": "BPA",
    "business": "bpa-services",
    "businessServiceSla": 5184000000,
    "states": [
      {
        "tenantId": "ca",
        "sla": null,
        "state": null,
        "applicationStatus": null,
        "docUploadRequired": false,
        "isStartState": true,
        "isTerminateState": false,
        "isStateUpdatable": true,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": null,
            "action": "INITIATE",
            "nextState": "SEND_TO_CITIZEN",
            "roles": [
              "BPA_ARCHITECT",
              "BPA_ENGINEER",
              "BPA_BUILDER",
              "BPA_STRUCTURALENGINEER",
              "BPA_TOWNPLANNER",
              "BPA_SUPERVISOR"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "SEND_TO_CITIZEN",
        "applicationStatus": "INITIATED",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": true,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "SEND_TO_CITIZEN",
            "action": "SEND_TO_CITIZEN",
            "nextState": "CITIZEN_APPROVAL_PENDING",
            "roles": [
              "BPA_ARCHITECT",
              "BPA_ENGINEER",
              "BPA_BUILDER",
              "BPA_STRUCTURALENGINEER",
              "BPA_TOWNPLANNER",
              "BPA_SUPERVISOR"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "SEND_TO_CITIZEN",
            "action": "INITIATE",
            "nextState": "SEND_TO_CITIZEN",
            "roles": [
              "BPA_ARCHITECT",
              "BPA_ENGINEER",
              "BPA_BUILDER",
              "BPA_STRUCTURALENGINEER",
              "BPA_TOWNPLANNER",
              "BPA_SUPERVISOR"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "CITIZEN_APPROVAL_PENDING",
        "applicationStatus": "CITIZEN_APPROVAL_INPROCESS",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "CITIZEN_APPROVAL_PENDING",
            "action": "APPROVE",
            "nextState": "INITIATED",
            "roles": [
              "CITIZEN"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "CITIZEN_APPROVAL_PENDING",
            "action": "SEND_TO_ARCHITECT",
            "nextState": "SEND_TO_CITIZEN",
            "roles": [
              "CITIZEN"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "INITIATED",
        "applicationStatus": "INPROGRESS",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "INITIATED",
            "action": "INITIATE",
            "nextState": "INITIATED",
            "roles": [
              "BPA_ARCHITECT",
              "BPA_ENGINEER",
              "BPA_BUILDER",
              "BPA_STRUCTURALENGINEER",
              "BPA_TOWNPLANNER",
              "BPA_SUPERVISOR"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "INITIATED",
            "action": "APPLY",
            "nextState": "PENDING_APPL_FEE_PAYMENT",
            "roles": [
              "BPA_ARCHITECT",
              "BPA_ENGINEER",
              "BPA_BUILDER",
              "BPA_STRUCTURALENGINEER",
              "BPA_TOWNPLANNER",
              "BPA_SUPERVISOR"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "PENDING_APPL_FEE_PAYMENT",
        "applicationStatus": "PENDING_APPL_FEE",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "PENDING_APPL_FEE_PAYMENT",
            "action": "PAY",
            "nextState": "DOC_VERIFICATION_PENDING",
            "roles": [
              "CITIZEN",
              "BPA_ARCHITECT",
              "BPA_ENGINEER",
              "BPA_BUILDER",
              "BPA_STRUCTURALENGINEER",
              "BPA_TOWNPLANNER",
              "BPA_SUPERVISOR",
              "SYSTEM_PAYMENT",
              "CEMP"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "PENDING_APPL_FEE_PAYMENT",
            "action": "ADHOC",
            "nextState": "PENDING_APPL_FEE_PAYMENT",
            "roles": [
              "CITIZEN",
              "BPA_ARCHITECT",
              "BPA_ENGINEER",
              "BPA_BUILDER",
              "BPA_STRUCTURALENGINEER",
              "BPA_TOWNPLANNER",
              "BPA_SUPERVISOR",
              "SYSTEM_PAYMENT",
              "CEMP"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "DOC_VERIFICATION_PENDING",
        "applicationStatus": "DOC_VERIFICATION_INPROGRESS",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "DOC_VERIFICATION_PENDING",
            "action": "FORWARD",
            "nextState": "FIELDINSPECTION_PENDING",
            "roles": [
              "BPA_VERIFIER"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "DOC_VERIFICATION_PENDING",
            "action": "REJECT",
            "nextState": "REJECTED",
            "roles": [
              "BPA_VERIFIER"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "DOC_VERIFICATION_PENDING",
            "action": "SEND_BACK_TO_CITIZEN",
            "nextState": "BACK_FROM_DOC_VERIFICATION",
            "roles": [
              "BPA_VERIFIER"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "FIELDINSPECTION_PENDING",
        "applicationStatus": "FIELDINSPECTION_INPROGRESS",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "FIELDINSPECTION_PENDING",
            "action": "REJECT",
            "nextState": "REJECTED",
            "roles": [
              "BPA_FIELD_INSPECTOR"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "FIELDINSPECTION_PENDING",
            "action": "FORWARD",
            "nextState": "NOC_VERIFICATION_PENDING",
            "roles": [
              "BPA_FIELD_INSPECTOR"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "FIELDINSPECTION_PENDING",
            "action": "SEND_BACK_TO_CITIZEN",
            "nextState": "BACK_FROM_FI_VERIFICATION",
            "roles": [
              "BPA_FIELD_INSPECTOR"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "NOC_VERIFICATION_PENDING",
        "applicationStatus": "NOC_VERIFICATION_INPROGRESS",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "NOC_VERIFICATION_PENDING",
            "action": "REJECT",
            "nextState": "REJECTED",
            "roles": [
              "BPA_NOC_VERIFIER"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "NOC_VERIFICATION_PENDING",
            "action": "FORWARD",
            "nextState": "PENDINGAPPROVAL",
            "roles": [
              "BPA_NOC_VERIFIER"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "NOC_VERIFICATION_PENDING",
            "action": "SEND_BACK_TO_CITIZEN",
            "nextState": "BACK_FROM_NOC_VERIFICATION",
            "roles": [
              "BPA_NOC_VERIFIER"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "PENDINGAPPROVAL",
        "applicationStatus": "APPROVAL_INPROGRESS",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "PENDINGAPPROVAL",
            "action": "REJECT",
            "nextState": "REJECTED",
            "roles": [
              "BPA_APPROVER"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "PENDINGAPPROVAL",
            "action": "APPROVE",
            "nextState": "PENDING_SANC_FEE_PAYMENT",
            "roles": [
              "BPA_APPROVER"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "PENDING_SANC_FEE_PAYMENT",
        "applicationStatus": "PENDING_SANC_FEE_PAYMENT",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "PENDING_SANC_FEE_PAYMENT",
            "action": "ADHOC",
            "nextState": "PENDING_SANC_FEE_PAYMENT",
            "roles": [
              "CITIZEN",
              "BPA_ARCHITECT",
              "BPA_ENGINEER",
              "BPA_BUILDER",
              "BPA_STRUCTURALENGINEER",
              "BPA_TOWNPLANNER",
              "BPA_SUPERVISOR",
              "SYSTEM_PAYMENT",
              "CEMP"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "PENDING_SANC_FEE_PAYMENT",
            "action": "PAY",
            "nextState": "APPROVED",
            "roles": [
              "CITIZEN",
              "BPA_ARCHITECT",
              "BPA_ENGINEER",
              "BPA_BUILDER",
              "BPA_STRUCTURALENGINEER",
              "BPA_TOWNPLANNER",
              "BPA_SUPERVISOR",
              "SYSTEM_PAYMENT",
              "CEMP"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "APPROVED",
        "applicationStatus": "APPROVED",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": true,
        "isStateUpdatable": false,
        "actions": null
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "REJECTED",
        "applicationStatus": "REJECTED",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": true,
        "isStateUpdatable": false,
        "actions": null
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "BACK_FROM_DOC_VERIFICATION",
        "applicationStatus": "CITIZEN_ACTION_PENDING_AT_DOC_VERIF",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": true,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "BACK_FROM_DOC_VERIFICATION",
            "action": "FORWARD",
            "nextState": "DOC_VERIFICATION_PENDING",
            "roles": [
              "CITIZEN",
              "BPA_ARCHITECT"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "BACK_FROM_FI_VERIFICATION",
        "applicationStatus": "CITIZEN_ACTION_PENDING_AT_FI_VERIF",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": true,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "BACK_FROM_FI_VERIFICATION",
            "action": "FORWARD",
            "nextState": "FIELDINSPECTION_PENDING",
            "roles": [
              "CITIZEN",
              "BPA_ARCHITECT"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "BACK_FROM_NOC_VERIFICATION",
        "applicationStatus": "CITIZEN_ACTION_PENDING_AT_NOC_VERIF",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": true,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "BACK_FROM_NOC_VERIFICATION",
            "action": "FORWARD",
            "nextState": "NOC_VERIFICATION_PENDING",
            "roles": [
              "CITIZEN",
              "BPA_ARCHITECT"
            ],
            "active": true
          }
        ]
      }
    ]
  },
  {
    "tenantId": "ca",
    "businessService": "TOWNPLANNER",
    "business": "BPAREG",
    "businessServiceSla": 0,
    "states": [
      {
        "tenantId": "ca",
        "sla": null,
        "state": null,
        "applicationStatus": null,
        "docUploadRequired": false,
        "isStartState": true,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": null,
            "action": "APPLY",
            "nextState": "PENDINGPAYMENT",
            "roles": [
              "CITIZEN",
              "ANONYMOUS"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "PENDINGPAYMENT",
        "applicationStatus": "PENDINGPAYMENT",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "PENDINGPAYMENT",
            "action": "PAY",
            "nextState": "PENDINGDOCVERIFICATION",
            "roles": [
              "CITIZEN",
              "SYSTEM_PAYMENT"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "PENDINGDOCVERIFICATION",
        "applicationStatus": "PENDINGDOCVERIFICATION",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "PENDINGDOCVERIFICATION",
            "action": "FORWARD",
            "nextState": "PENDINGAPPROVAL",
            "roles": [
              "BPAREG_DOC_VERIFIER"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "PENDINGDOCVERIFICATION",
            "action": "REJECT",
            "nextState": "REJECTED",
            "roles": [
              "BPAREG_DOC_VERIFIER"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "REJECTED",
        "applicationStatus": "REJECTED",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": true,
        "isStateUpdatable": false,
        "actions": null
      },
      {
        "tenantId": "ca",
        "sla": 43200000,
        "state": "PENDINGAPPROVAL",
        "applicationStatus": "PENDINGAPPROVAL",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "PENDINGAPPROVAL",
            "action": "REJECT",
            "nextState": "REJECTED",
            "roles": [
              "BPAREG_APPROVER"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "PENDINGAPPROVAL",
            "action": "APPROVE",
            "nextState": "APPROVED",
            "roles": [
              "BPAREG_APPROVER"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "APPROVED",
        "applicationStatus": "APPROVED",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": true,
        "isStateUpdatable": false,
        "actions": null
      }
    ]
  },
  {
    "tenantId": "ca",
    "businessService": "SUPERVISOR",
    "business": "BPAREG",
    "businessServiceSla": 0,
    "states": [
      {
        "tenantId": "ca",
        "sla": null,
        "state": null,
        "applicationStatus": null,
        "docUploadRequired": false,
        "isStartState": true,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": null,
            "action": "APPLY",
            "nextState": "PENDINGPAYMENT",
            "roles": [
              "CITIZEN",
              "ANONYMOUS"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "PENDINGPAYMENT",
        "applicationStatus": "PENDINGPAYMENT",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "PENDINGPAYMENT",
            "action": "PAY",
            "nextState": "PENDINGDOCVERIFICATION",
            "roles": [
              "CITIZEN",
              "SYSTEM_PAYMENT"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "PENDINGDOCVERIFICATION",
        "applicationStatus": "PENDINGDOCVERIFICATION",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "PENDINGDOCVERIFICATION",
            "action": "FORWARD",
            "nextState": "PENDINGAPPROVAL",
            "roles": [
              "BPAREG_DOC_VERIFIER"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "PENDINGDOCVERIFICATION",
            "action": "REJECT",
            "nextState": "REJECTED",
            "roles": [
              "BPAREG_DOC_VERIFIER"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "REJECTED",
        "applicationStatus": "REJECTED",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": true,
        "isStateUpdatable": false,
        "actions": null
      },
      {
        "tenantId": "ca",
        "sla": 43200000,
        "state": "PENDINGAPPROVAL",
        "applicationStatus": "PENDINGAPPROVAL",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "PENDINGAPPROVAL",
            "action": "REJECT",
            "nextState": "REJECTED",
            "roles": [
              "BPAREG_APPROVER"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "PENDINGAPPROVAL",
            "action": "APPROVE",
            "nextState": "APPROVED",
            "roles": [
              "BPAREG_APPROVER"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "APPROVED",
        "applicationStatus": "APPROVED",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": true,
        "isStateUpdatable": false,
        "actions": null
      }
    ]
  },
  {
    "tenantId": "ca",
    "businessService": "STRUCTURALENGINEER",
    "business": "BPAREG",
    "businessServiceSla": 0,
    "states": [
      {
        "tenantId": "ca",
        "sla": null,
        "state": null,
        "applicationStatus": null,
        "docUploadRequired": false,
        "isStartState": true,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": null,
            "action": "APPLY",
            "nextState": "PENDINGPAYMENT",
            "roles": [
              "CITIZEN",
              "ANONYMOUS"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "PENDINGPAYMENT",
        "applicationStatus": "PENDINGPAYMENT",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "PENDINGPAYMENT",
            "action": "PAY",
            "nextState": "PENDINGDOCVERIFICATION",
            "roles": [
              "CITIZEN",
              "SYSTEM_PAYMENT"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "PENDINGDOCVERIFICATION",
        "applicationStatus": "PENDINGDOCVERIFICATION",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "PENDINGDOCVERIFICATION",
            "action": "FORWARD",
            "nextState": "PENDINGAPPROVAL",
            "roles": [
              "BPAREG_DOC_VERIFIER"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "PENDINGDOCVERIFICATION",
            "action": "REJECT",
            "nextState": "REJECTED",
            "roles": [
              "BPAREG_DOC_VERIFIER"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "REJECTED",
        "applicationStatus": "REJECTED",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": true,
        "isStateUpdatable": false,
        "actions": null
      },
      {
        "tenantId": "ca",
        "sla": 43200000,
        "state": "PENDINGAPPROVAL",
        "applicationStatus": "PENDINGAPPROVAL",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "PENDINGAPPROVAL",
            "action": "REJECT",
            "nextState": "REJECTED",
            "roles": [
              "BPAREG_APPROVER"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "PENDINGAPPROVAL",
            "action": "APPROVE",
            "nextState": "APPROVED",
            "roles": [
              "BPAREG_APPROVER"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "APPROVED",
        "applicationStatus": "APPROVED",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": true,
        "isStateUpdatable": false,
        "actions": null
      }
    ]
  },
  {
    "tenantId": "ca",
    "businessService": "ENGINEER",
    "business": "BPAREG",
    "businessServiceSla": 0,
    "states": [
      {
        "tenantId": "ca",
        "sla": null,
        "state": null,
        "applicationStatus": null,
        "docUploadRequired": false,
        "isStartState": true,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": null,
            "action": "APPLY",
            "nextState": "PENDINGPAYMENT",
            "roles": [
              "CITIZEN",
              "ANONYMOUS"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "PENDINGPAYMENT",
        "applicationStatus": "PENDINGPAYMENT",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "PENDINGPAYMENT",
            "action": "PAY",
            "nextState": "PENDINGDOCVERIFICATION",
            "roles": [
              "CITIZEN",
              "SYSTEM_PAYMENT"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "PENDINGDOCVERIFICATION",
        "applicationStatus": "PENDINGDOCVERIFICATION",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "PENDINGDOCVERIFICATION",
            "action": "FORWARD",
            "nextState": "PENDINGAPPROVAL",
            "roles": [
              "BPAREG_DOC_VERIFIER"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "PENDINGDOCVERIFICATION",
            "action": "REJECT",
            "nextState": "REJECTED",
            "roles": [
              "BPAREG_DOC_VERIFIER"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "REJECTED",
        "applicationStatus": "REJECTED",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": true,
        "isStateUpdatable": false,
        "actions": null
      },
      {
        "tenantId": "ca",
        "sla": 43200000,
        "state": "PENDINGAPPROVAL",
        "applicationStatus": "PENDINGAPPROVAL",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "PENDINGAPPROVAL",
            "action": "REJECT",
            "nextState": "REJECTED",
            "roles": [
              "BPAREG_APPROVER"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "PENDINGAPPROVAL",
            "action": "APPROVE",
            "nextState": "APPROVED",
            "roles": [
              "BPAREG_APPROVER"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "APPROVED",
        "applicationStatus": "APPROVED",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": true,
        "isStateUpdatable": false,
        "actions": null
      }
    ]
  },
  {
    "tenantId": "ca",
    "businessService": "BUILDER",
    "business": "BPAREG",
    "businessServiceSla": 0,
    "states": [
      {
        "tenantId": "ca",
        "sla": null,
        "state": null,
        "applicationStatus": null,
        "docUploadRequired": false,
        "isStartState": true,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": null,
            "action": "APPLY",
            "nextState": "PENDINGPAYMENT",
            "roles": [
              "CITIZEN",
              "ANONYMOUS"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "PENDINGPAYMENT",
        "applicationStatus": "PENDINGPAYMENT",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "PENDINGPAYMENT",
            "action": "PAY",
            "nextState": "PENDINGDOCVERIFICATION",
            "roles": [
              "CITIZEN",
              "SYSTEM_PAYMENT"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "PENDINGDOCVERIFICATION",
        "applicationStatus": "PENDINGDOCVERIFICATION",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "PENDINGDOCVERIFICATION",
            "action": "FORWARD",
            "nextState": "PENDINGAPPROVAL",
            "roles": [
              "BPAREG_DOC_VERIFIER"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "PENDINGDOCVERIFICATION",
            "action": "REJECT",
            "nextState": "REJECTED",
            "roles": [
              "BPAREG_DOC_VERIFIER"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "REJECTED",
        "applicationStatus": "REJECTED",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": true,
        "isStateUpdatable": false,
        "actions": null
      },
      {
        "tenantId": "ca",
        "sla": 43200000,
        "state": "PENDINGAPPROVAL",
        "applicationStatus": "PENDINGAPPROVAL",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "PENDINGAPPROVAL",
            "action": "REJECT",
            "nextState": "REJECTED",
            "roles": [
              "BPAREG_APPROVER"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "PENDINGAPPROVAL",
            "action": "APPROVE",
            "nextState": "APPROVED",
            "roles": [
              "BPAREG_APPROVER"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "APPROVED",
        "applicationStatus": "APPROVED",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": true,
        "isStateUpdatable": false,
        "actions": null
      }
    ]
  },
  {
    "tenantId": "ca",
    "businessService": "ARCHITECT",
    "business": "BPAREG",
    "businessServiceSla": 0,
    "states": [
      {
        "tenantId": "ca",
        "sla": null,
        "state": null,
        "applicationStatus": null,
        "docUploadRequired": false,
        "isStartState": true,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": null,
            "action": "APPLY",
            "nextState": "PENDINGPAYMENT",
            "roles": [
              "CITIZEN",
              "ANONYMOUS"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "PENDINGPAYMENT",
        "applicationStatus": "PENDINGPAYMENT",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "PENDINGPAYMENT",
            "action": "PAY",
            "nextState": "PENDINGDOCVERIFICATION",
            "roles": [
              "CITIZEN",
              "SYSTEM_PAYMENT"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "PENDINGDOCVERIFICATION",
        "applicationStatus": "PENDINGDOCVERIFICATION",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "PENDINGDOCVERIFICATION",
            "action": "FORWARD",
            "nextState": "PENDINGAPPROVAL",
            "roles": [
              "BPAREG_DOC_VERIFIER"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "PENDINGDOCVERIFICATION",
            "action": "REJECT",
            "nextState": "REJECTED",
            "roles": [
              "BPAREG_DOC_VERIFIER"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "REJECTED",
        "applicationStatus": "REJECTED",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": true,
        "isStateUpdatable": false,
        "actions": null
      },
      {
        "tenantId": "ca",
        "sla": 43200000,
        "state": "PENDINGAPPROVAL",
        "applicationStatus": "PENDINGAPPROVAL",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "PENDINGAPPROVAL",
            "action": "REJECT",
            "nextState": "REJECTED",
            "roles": [
              "BPAREG_APPROVER"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "PENDINGAPPROVAL",
            "action": "APPROVE",
            "nextState": "APPROVED",
            "roles": [
              "BPAREG_APPROVER"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "APPROVED",
        "applicationStatus": "APPROVED",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": true,
        "isStateUpdatable": false,
        "actions": null
      }
    ]
  }
]

Loading FireNOC Workflow

API Collection

//[
  {
    "tenantId": "ca",
    "businessService": "FIRE_NOC_SRV",
    "business": "noc-services",
    "businessServiceSla": 5184000000,
    "states": [
      {
        "tenantId": "ca",
        "sla": null,
        "state": null,
        "applicationStatus": "INITIATED",
        "docUploadRequired": false,
        "isStartState": true,
        "isTerminateState": false,
        "isStateUpdatable": true,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": null,
            "action": "INITIATE",
            "nextState": "INITIATED",
            "roles": [
              "CITIZEN",
              "BPA_ARCHITECT",
              "BPA_ENGINEER",
              "BPA_BUILDER",
              "BPA_STRUCTURALENGINEER",
              "BPA_TOWNPLANNER",
              "BPA_SUPERVISOR"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "INITIATED",
        "applicationStatus": "INPROGRESS",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "INITIATED",
            "action": "REJECT",
            "nextState": "REJECTED",
            "roles": [
              "FIRE_NOC_APPROVER"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "INITIATED",
            "action": "APPROVE",
            "nextState": "APPROVED",
            "roles": [
              "FIRE_NOC_APPROVER"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "INITIATED",
            "action": "VOID",
            "nextState": "VOIDED",
            "roles": [
              "BPA_VERIFIER",
              "BPA_FIELD_INSPECTOR",
              "BPA_NOC_VERIFIER"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "REJECTED",
        "applicationStatus": "REJECTED",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": true,
        "isStateUpdatable": false,
        "actions": null
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "APPROVED",
        "applicationStatus": "APPROVED",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": true,
        "isStateUpdatable": false,
        "actions": null
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "VOIDED",
        "applicationStatus": "VOIDED",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": true,
        "isStateUpdatable": false,
        "actions": null
      }
    ]
  },
  {
    "tenantId": "ca",
    "businessService": "AIRPORT_NOC_SRV",
    "business": "noc-services",
    "businessServiceSla": 5184000000,
    "states": [
      {
        "tenantId": "ca",
        "sla": null,
        "state": null,
        "applicationStatus": "INITIATED",
        "docUploadRequired": false,
        "isStartState": true,
        "isTerminateState": false,
        "isStateUpdatable": true,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": null,
            "action": "INITIATE",
            "nextState": "INITIATED",
            "roles": [
              "CITIZEN",
              "BPA_ARCHITECT",
              "BPA_ENGINEER",
              "BPA_BUILDER",
              "BPA_STRUCTURALENGINEER",
              "BPA_TOWNPLANNER",
              "BPA_SUPERVISOR"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "INITIATED",
        "applicationStatus": "INPROGRESS",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "INITIATED",
            "action": "REJECT",
            "nextState": "REJECTED",
            "roles": [
              "AIRPORT_AUTHORITY_APPROVER"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "INITIATED",
            "action": "APPROVE",
            "nextState": "APPROVED",
            "roles": [
              "AIRPORT_AUTHORITY_APPROVER"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "INITIATED",
            "action": "VOID",
            "nextState": "VOIDED",
            "roles": [
              "BPA_VERIFIER",
              "BPA_FIELD_INSPECTOR",
              "BPA_NOC_VERIFIER"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "REJECTED",
        "applicationStatus": "REJECTED",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": true,
        "isStateUpdatable": false,
        "actions": null
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "APPROVED",
        "applicationStatus": "APPROVED",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": true,
        "isStateUpdatable": false,
        "actions": null
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "VOIDED",
        "applicationStatus": "VOIDED",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": true,
        "isStateUpdatable": false,
        "actions": null
      }
    ]
  },
  {
    "tenantId": "ca",
    "businessService": "FIRE_NOC_OFFLINE",
    "business": "noc-services",
    "businessServiceSla": 5184000000,
    "states": [
      {
        "tenantId": "ca",
        "sla": null,
        "state": null,
        "applicationStatus": "INITIATED",
        "docUploadRequired": false,
        "isStartState": true,
        "isTerminateState": false,
        "isStateUpdatable": true,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": null,
            "action": "INITIATE",
            "nextState": "INITIATED",
            "roles": [
              "CITIZEN",
              "BPA_ARCHITECT",
              "BPA_ENGINEER",
              "BPA_BUILDER",
              "BPA_STRUCTURALENGINEER",
              "BPA_TOWNPLANNER",
              "BPA_SUPERVISOR"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "INITIATED",
        "applicationStatus": "INPROGRESS",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "INITIATED",
            "action": "AUTO_APPROVE",
            "nextState": "AUTO_APPROVED",
            "roles": [
              "BPA_VERIFIER",
              "BPA_FIELD_INSPECTOR",
              "BPA_NOC_VERIFIER",
              "BPA_APPROVER"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "INITIATED",
            "action": "VOID",
            "nextState": "VOIDED",
            "roles": [
              "BPA_VERIFIER",
              "BPA_FIELD_INSPECTOR",
              "BPA_NOC_VERIFIER",
              "BPA_APPROVER"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "VOIDED",
        "applicationStatus": "VOIDED",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": true,
        "isStateUpdatable": false,
        "actions": null
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "AUTO_APPROVED",
        "applicationStatus": "AUTO_APPROVED",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": true,
        "isStateUpdatable": false,
        "actions": null
      }
    ]
  },
  {
    "tenantId": "ca",
    "businessService": "AIRPORT_NOC_OFFLINE",
    "business": "noc-services",
    "businessServiceSla": 5184000000,
    "states": [
      {
        "tenantId": "ca",
        "sla": null,
        "state": null,
        "applicationStatus": "INITIATED",
        "docUploadRequired": false,
        "isStartState": true,
        "isTerminateState": false,
        "isStateUpdatable": true,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": null,
            "action": "INITIATE",
            "nextState": "INITIATED",
            "roles": [
              "CITIZEN",
              "BPA_ARCHITECT",
              "BPA_ENGINEER",
              "BPA_BUILDER",
              "BPA_STRUCTURALENGINEER",
              "BPA_TOWNPLANNER",
              "BPA_SUPERVISOR"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "INITIATED",
        "applicationStatus": "INPROGRESS",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "INITIATED",
            "action": "AUTO_APPROVE",
            "nextState": "AUTO_APPROVED",
            "roles": [
              "BPA_VERIFIER",
              "BPA_FIELD_INSPECTOR",
              "BPA_NOC_VERIFIER",
              "BPA_APPROVER"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "INITIATED",
            "action": "VOID",
            "nextState": "VOIDED",
            "roles": [
              "BPA_VERIFIER",
              "BPA_FIELD_INSPECTOR",
              "BPA_NOC_VERIFIER",
              "BPA_APPROVER"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "VOIDED",
        "applicationStatus": "VOIDED",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": true,
        "isStateUpdatable": false,
        "actions": null
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "AUTO_APPROVED",
        "applicationStatus": "AUTO_APPROVED",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": true,
        "isStateUpdatable": false,
        "actions": null
      }
    ]
  },
  {
    "tenantId": "ca",
    "businessService": "FIRENOC",
    "business": "fireNoc",
    "businessServiceSla": 172800000,
    "states": [
      {
        "tenantId": "ca",
        "sla": null,
        "state": null,
        "applicationStatus": null,
        "docUploadRequired": false,
        "isStartState": true,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": null,
            "action": "INITIATE",
            "nextState": "INITIATED",
            "roles": [
              "CITIZEN",
              "NOC_CEMP"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "INITIATED",
        "applicationStatus": "INITIATED",
        "docUploadRequired": false,
        "isStartState": true,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "INITIATED",
            "action": "INITIATE",
            "nextState": "INITIATED",
            "roles": [
              "CITIZEN",
              "TL_CEMP"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "INITIATED",
            "action": "APPLY",
            "nextState": "PENDINGPAYMENT",
            "roles": [
              "CITIZEN",
              "NOC_CEMP"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "PENDINGPAYMENT",
        "applicationStatus": "PENDINGPAYMENT",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "PENDINGPAYMENT",
            "action": "PAY",
            "nextState": "DOCUMENTVERIFY",
            "roles": [
              "CITIZEN",
              "NOC_CEMP"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": 86400000,
        "state": "DOCUMENTVERIFY",
        "applicationStatus": "DOCUMENTVERIFY",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "DOCUMENTVERIFY",
            "action": "SENDBACKTOCITIZEN",
            "nextState": "CITIZENACTIONREQUIRED-DV",
            "roles": [
              "NOC_DOC_VERIFIER"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "DOCUMENTVERIFY",
            "action": "REFER",
            "nextState": "DOCUMENTVERIFY",
            "roles": [
              "NOC_DOC_VERIFIER"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "DOCUMENTVERIFY",
            "action": "FORWARD",
            "nextState": "FIELDINSPECTION",
            "roles": [
              "NOC_DOC_VERIFIER"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "DOCUMENTVERIFY",
            "action": "REJECT",
            "nextState": "REJECTED",
            "roles": [
              "NOC_DOC_VERIFIER"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "REJECTED",
        "applicationStatus": "REJECTED",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": true,
        "isStateUpdatable": false,
        "actions": null
      },
      {
        "tenantId": "ca",
        "sla": 86400000,
        "state": "FIELDINSPECTION",
        "applicationStatus": "FIELDINSPECTION",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "FIELDINSPECTION",
            "action": "REFER",
            "nextState": "FIELDINSPECTION",
            "roles": [
              "NOC_FIELD_INSPECTOR"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "FIELDINSPECTION",
            "action": "FORWARD",
            "nextState": "PENDINGAPPROVAL",
            "roles": [
              "NOC_FIELD_INSPECTOR"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "FIELDINSPECTION",
            "action": "SENDBACKTOCITIZEN",
            "nextState": "CITIZENACTIONREQUIRED",
            "roles": [
              "NOC_FIELD_INSPECTOR"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "FIELDINSPECTION",
            "action": "SENDBACK",
            "nextState": "DOCUMENTVERIFY",
            "roles": [
              "NOC_FIELD_INSPECTOR"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "FIELDINSPECTION",
            "action": "REJECT",
            "nextState": "REJECTED",
            "roles": [
              "NOC_FIELD_INSPECTOR"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": 43200000,
        "state": "PENDINGAPPROVAL",
        "applicationStatus": "PENDINGAPPROVAL",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "PENDINGAPPROVAL",
            "action": "REFER",
            "nextState": "PENDINGAPPROVAL",
            "roles": [
              "NOC_APPROVER"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "PENDINGAPPROVAL",
            "action": "SENDBACK",
            "nextState": "FIELDINSPECTION",
            "roles": [
              "NOC_APPROVER"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "PENDINGAPPROVAL",
            "action": "APPROVE",
            "nextState": "APPROVED",
            "roles": [
              "NOC_APPROVER"
            ],
            "active": true
          },
          {
            "tenantId": "ca",
            "currentState": "PENDINGAPPROVAL",
            "action": "REJECT",
            "nextState": "REJECTED",
            "roles": [
              "NOC_APPROVER"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "APPROVED",
        "applicationStatus": "APPROVED",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": false,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "APPROVED",
            "action": "CANCEL",
            "nextState": "CANCELLED",
            "roles": [
              "NOC_APPROVER"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "CANCELLED",
        "applicationStatus": "CANCELLED",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": true,
        "isStateUpdatable": false,
        "actions": null
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "CITIZENACTIONREQUIRED",
        "applicationStatus": "CITIZENACTIONREQUIRED",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": true,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "CITIZENACTIONREQUIRED",
            "action": "RESUBMIT",
            "nextState": "FIELDINSPECTION",
            "roles": [
              "CITIZEN",
              "NOC_CEMP"
            ],
            "active": true
          }
        ]
      },
      {
        "tenantId": "ca",
        "sla": null,
        "state": "CITIZENACTIONREQUIRED-DV",
        "applicationStatus": "CITIZENACTIONREQUIRED-DV",
        "docUploadRequired": false,
        "isStartState": false,
        "isTerminateState": false,
        "isStateUpdatable": true,
        "actions": [
          {
            "tenantId": "ca",
            "currentState": "CITIZENACTIONREQUIRED-DV",
            "action": "RESUBMIT",
            "nextState": "DOCUMENTVERIFY",
            "roles": [
              "CITIZEN",
              "NOC_CEMP"
            ],
            "active": true
          }
        ]
      }
    ]
  }
]

Login Credentials

Roles
Username
Password
City
Phone

HRMS, Superuser

HRMSSU1

Demo@123

Alameda

9999009902

Superuser

SUPERSU

eGov@123

California

9999009900

Roles
Username
Password

Citizen

6100000010

123456

Architect

6109981231

123456

Role
Username
Password
ULB
ULB

Common Role for Employees

Property Tax Counter Employee

Business License Document verifier

Business License field inspector

BPA Services verifier

BPA Field Inspector

BPA NOC Verifier

FireNoc Approver

Airport Authority Approver

FieldEmployee

Demo@123

Alameda

6000000002

Common Role for Employees

Property Tax Counter Employee

TL Approver

Counter Employee

BPA Services Approver

BPAREG doc verifier

BPAREG Approver

OfficeEmployee

Demo@123

Alameda

6000000003

Dependency services

  • egov-user - (Manage user)

  • tl-services - Stakeholder Registration (Registration process of Stakeholder is handled by this service)

  • egov-user-event (What’s New and Events)

  • egov-filestore (To store the documents uploaded by the user)

  • egov-idgen (To generate the application No, Permit No)

  • egov-indexer (To index the BPA data)

  • egov-localization (To use the localized messages)

  • egov-location (To store the address locality)

  • egov-mdms (MDMS serves configurations/master data used in the application)

  • egov-notification-sms (Service to send SMS to the users involved in the application)

  • egov-persister (Helps to persist the data)

  • egov-searcher (Search query used to simplify the search)

  • egov-workflow-v2 (Workflow configuration for different BPA applications is configured)

  • pdf-service (Receipt’s, permitorder etc.. and prepared)

  • billing-service (Create demands and bills for the fees to be collected)

  • collection-services (Create a receipt for the payment received for the bills)

  • bpa-calculator (Calculates the fees to be collected at different stages)

  • land-services (land information related to BPA application is stored)

  • dcr-services (get and validate EDCR data)

Role Action Mapping

Actions
Roles

/noc-services/v1/noc/_search

CITIZEN,EMPLOYEE,FIRE_NOC_APPROVER,AIRPORT_AUTHORITY_APPROVER,BPAREG_DOC_VERIFIER,BPA_APPROVER,BPA_VERIFIER,BPA_FIELD_INSPECTOR,BPA_NOC_VERIFIER,BPAREG_APPROVER,BPA_CEMP

/bpa-services/v1/bpa/_search

CITIZEN,EMPLOYEE,FIRE_NOC_APPROVER,AIRPORT_AUTHORITY_APPROVER,BPAREG_DOC_VERIFIER,BPA_APPROVER,BPA_VERIFIER,BPA_FIELD_INSPECTOR,BPA_NOC_VERIFIER,BPA_CEMP,BPA_ARCHITECT

/bpa-services/v1/bpa/_create

CITIZEN,EMPLOYEE

/bpa-services/v1/bpa/_update

CITIZEN,EMPLOYEE,BPA_ARCHITECT,BPA_APPROVER,BPA_VERIFIER,BPA_FIELD_INSPECTOR,BPA_NOC_VERIFIER,BPAREG_DOC_VERIFIER

/edcr/rest/dcr/scrutinydetails

BPA_ARCHITECT,BPA_TOWNPLANNER,BPA_ENGINEER,BPA_BUILDER,BPA_STRUCTURALENGINEER,BPA_SUPERVISOR,CITIZEN,EMPLOYEE,BPA_CEMP

/edcr/rest/dcr/occomparison

BPA_ARCHITECT,BPA_TOWNPLANNER,BPA_ENGINEER,BPA_BUILDER,BPA_STRUCTURALENGINEER,BPA_SUPERVISOR,CITIZEN,EMPLOYEE,BPA_CEMP

/collection-services/payments/BPAREG/_search

CITIZEN,BPAREG_APPROVER,BPAREG_DOC_VERIFIER,BPA_CEMP

/collection-services/payments/BPA.LOW_RISK_PERMIT_FEE/_search,

/collection-services/payments/BPA.NC_APP_FEE/_search,

/collection-services/payments/BPA.NC_SAN_FEE/_search,

/collection-services/payments/BPA.NC_OC_APP_FEE/_search,

/collection-services/payments/BPA.NC_OC_SAN_FEE/_search

BPA_ARCHITECT,BPA_ENGINEER,BPA_BUILDER,BPA_STRUCTURALENGINEER,BPA_TOWNPLANNER,BPA_SUPERVISOR,BPA_VERIFIER,BPA_FIELD_INSPECTOR,BPA_NOC_VERIFIER,,BPA_APPROVER,CITIZEN,AIRPORT_AUTHORITY_APPROVER,FIRE_NOC_APPROVER,BPA_CEMP

Referral Docs

Last updated

All content on this page by eGov Foundation is licensed under a Creative Commons Attribution 4.0 International License.