Versions Compared

Key

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

...

Workflow Configuration:

Code Block
{
  "BusinessServicesRequestInfo": [{
    "apiId": "Rainmaker",
  {  "action": "",
    "did": 1,
    "tenantIdkey": "pb",
      "msgId": "20170310130900|en_IN",
     "businessServicerequesterId": "NewTL",
       "ts": 1513579888683,
    "businessver": "tl-services.01",
       "authToken": "{{devAuth}}",
    "businessServiceSlauserInfo": 172800000,{
            "states"id": [
   73,
            {
                    "tenantId"userName": "pb"null,
                    "sla"name": null,
  
                 "state"type": null,
                    "applicationStatus": null,
                    "docUploadRequired": false,
                    "isStartState": true,
                    "isTerminateState": false,
                    "isStateUpdatable": true,
                    "actions": [
                        {
                            "tenantId": "pb",
                            "action": "INITIATE",
                            "roles": [
                                "CITIZEN",
                                "TL_CEMP"
                            ]
                        }
                    ]
                },
                {
                    "tenantId": "pb",
                    "sla": null,
                    "state": "INITIATED",
                    "applicationStatus": "INITIATED",
                    "docUploadRequired": false,
                    "isStartState": true,
                    "isTerminateState": false,
                    "isStateUpdatable": true,
                    "actions": [
                        {
                            "tenantId": "pb",
                            "action": "INITIATE",
                            "roles": [
                                "CITIZEN",
                                "TL_CEMP"
                            ]
                        },
                        {
                            "tenantId": "pb",
                            "action": "APPLY",
                            "roles": [
                                "CITIZEN",
                                "TL_CEMP"
                            ]
                        }
                    ]
                },
                {
                    "tenantId": "pb",
                    "sla": null,
                    "state": "APPLIED",
                    "applicationStatus": "APPLIED",
                    "docUploadRequired": false,
                    "isStartState": false,
                    "isTerminateState": false,
                    "isStateUpdatable": true,
                    "actions": [
                        {
                            "tenantId": "pb",
                            "action": "FORWARD",
                            "roles": [
                                "TL_DOC_VERIFIER"
                            ]
                        },
                        {
                            "tenantId": "pb",
                            "action": "REJECT",
                            "roles": [
                                "TL_DOC_VERIFIER"
                            ]
                        }
                    ]
                },
                {
                    "tenantId": "pb",
                    "sla": null,
                    "state": "REJECTED",
                    "applicationStatus": "REJECTED",
                    "docUploadRequired": false,
                    "isStartState": false,
                    "isTerminateState": true,
                    "isStateUpdatable": false,
                    "actions": null
                },
                {
                    "tenantId": "pb",
                    "sla": 86400000,
                    "state": "FIELDINSPECTION",
                    "applicationStatus": "FIELDINSPECTION",
                    "docUploadRequired": false,
                    "isStartState": false,
                    "isTerminateState": false,
                    "isStateUpdatable": true,
                    "actions": [
                        {
                            "tenantId": "pb",
                            "action": "SENDBACKTOCITIZEN",
                     "EMPLOYEE",
      "rolesmobileNumber": [null,
      "emailId": null,
      "roles": [
        {
       "TL_FIELD_INSPECTOR"   "id": 2,
          "name": "Customer Support Representative",
          ]
"code": null,
          "tenantId": null
           },
      ],
      "tenantId": null,
      "uuid": "uuid"
 {   }
  },
         "BusinessServices": [
     {
      "tenantId": "pb.amritsar",
      "businessService": "NewTL",
         "business": "tl-services",
          "actionbusinessServiceSla": "REJECT"172800000,
      "states": [
        {
          "tenantId": "rolespb.amritsar":,
[          "sla": null,
          "state": null,
          "TL_FIELD_INSPECTORapplicationStatus": null,
               "docUploadRequired": false,
           ]"isStartState": true,
          "isTerminateState": false,
            }"isStateUpdatable": true,
          "actions": [
            {
              "tenantId": "pb.amritsar",
              "tenantIdaction": "pbINITIATE",
              "nextState": "INITIATED",
              "actionroles": "SENDBACK",[
                "CITIZEN",
                "roles": [TL_CEMP"
              ]
            }
          "TL_FIELD_INSPECTOR"]
        },
        {
          ]
"tenantId": "pb.amritsar",
          "sla": null,
           }"state": "INITIATED",
          "applicationStatus": "INITIATED",
          "docUploadRequired": false,
{          "isStartState": true,
          "isTerminateState": false,
          "tenantIdisStateUpdatable": "pb"true,
          "actions": [
            {
   "action": "FORWARD",             "tenantId": "pb.amritsar",
              "rolesaction": ["APPLY",
              "nextState": "APPLIED",
                "TL_FIELD_INSPECTOR"
"roles": [
                "CITIZEN",
          ]      "TL_CEMP"
              ]
   }         },
           ] {
               }"tenantId": "pb.amritsar",
              "action": "INITIATE",
{              "nextState": "INITIATED",
     "tenantId": "pb",        "roles": [
           "sla": 43200000,    "CITIZEN",
                "state": "PENDINGAPPROVAL",TL_CEMP"
              ]
         "applicationStatus": "PENDINGAPPROVAL",  }
          ]
       "docUploadRequired": false},
        {
           "isStartStatetenantId": false"pb.amritsar",
          "sla": null,
          "isTerminateStatestate": false"APPLIED",
          "applicationStatus": "APPLIED",
          "isStateUpdatabledocUploadRequired": false,,
          "isStartState": false,
          "actionsisTerminateState": [false,
          "isStateUpdatable": true,
          "actions": [
{             {
               "tenantId": "pb.amritsar",
                            "action": "APPROVEFORWARD",
              "nextState": "FIELDINSPECTION",
              "roles": [
                "TL_DOC_VERIFIER"
              ]
   "TL_APPROVER"         },
            {
      ]        "tenantId": "pb.amritsar",
               }"action": "REJECT",
              "nextState": "REJECTED",
        {      "roles": [
                     "tenantId": "pb","TL_DOC_VERIFIER"
              ]
            }
 "action": "SENDBACK",        ]
        },
        {
  "roles": [       "tenantId": "pb.amritsar",
          "sla": null,
            "TL_APPROVER"
     state": "REJECTED",
          "applicationStatus": "REJECTED",
          ]
"docUploadRequired": false,
          "isStartState": false,
          "isTerminateState": }true,
          "isStateUpdatable": false,
          "actions": null
{        },
         {
          "tenantId": "pb.amritsar",
                "sla": 86400000,
           "actionstate": "REJECTFIELDINSPECTION",
          "applicationStatus": "FIELDINSPECTION",
                "roles": ["docUploadRequired": false,
          "isStartState": false,
          "isTerminateState": false,
          "TL_APPROVERisStateUpdatable": true,
          "actions": [
            {
  ]            "tenantId": "pb.amritsar",
           }
   "action": "SENDBACKTOCITIZEN",
              "nextState": "CITIZENACTIONREQUIRED",
    ]          "roles": [
     },           "TL_FIELD_INSPECTOR"
     {         ]
           "tenantId": "pb", },
            {
        "sla": 43200000,     "tenantId": "pb.amritsar",
              "stateaction": "PENDINGPAYMENTFORWARD",
                    "applicationStatus"nextState": "PENDINGPAYMENTPENDINGAPPROVAL",
                    "docUploadRequired"roles": false,[
                    "isStartState": false,"TL_FIELD_INSPECTOR"
              ]
      "isTerminateState": false,     },
            {
  "isStateUpdatable": false,           "tenantId": "pb.amritsar",
        "actions": [      "action": "REJECT",
              "nextState": "REJECTED",
 {             "roles": [
               "tenantId": "pbTL_FIELD_INSPECTOR",
              ]
             "action": "ADHOC"},
            {
               "rolestenantId": ["pb.amritsar",
              "action": "SENDBACK",
              "nextState":  "TL_CEMPAPPLIED",
                    "roles": [
       ]         "TL_FIELD_INSPECTOR"
              ]
},            }
          ]
 {       },
        {
            "tenantId": "pb.amritsar",
          "sla": 43200000,
          "state": "PENDINGAPPROVAL",
          "actionapplicationStatus": "PAYPENDINGAPPROVAL",
          "docUploadRequired": false,
                "roles"isStartState": false,
[          "isTerminateState": false,
          "isStateUpdatable": false,
          "CITIZEN",
   actions": [
            {
              "tenantId": "TL_CEMPpb.amritsar",
              "action": "SENDBACK",
               "nextState": "SYSTEM_PAYMENTFIELDINSPECTION",
              "roles": [
            ]    "TL_APPROVER"
              ]
     }       },
            {
]                 }"tenantId": "pb.amritsar",
                {"action": "APPROVE",
                    "tenantId"nextState": "pbPENDINGPAYMENT",
     
              "slaroles": [
null,                "TL_APPROVER"
    "state": "APPROVED",         ]
           "applicationStatus": "APPROVED" },
            {
       "docUploadRequired": false,      "tenantId": "pb.amritsar",
              "isStartStateaction": false"REJECT",
                    "isTerminateState"nextState": false"REJECTED",
              "roles": [
     "isStateUpdatable": false,           "TL_APPROVER"
           "actions":  [ ]
            }
          {]
        },
        {
          "tenantId": "pb.amritsar",
          "sla": 43200000,
                "action"state": "CANCELPENDINGPAYMENT",
              "applicationStatus": "PENDINGPAYMENT",
             "rolesdocUploadRequired": [false,
          "isStartState": false,
          "isTerminateState": false,
          "TL_APPROVERisStateUpdatable": false,
          "actions": [
            {
  ]              "tenantId": "pb.amritsar",
          },    "action": "ADHOC",
              "nextState": "PENDINGPAYMENT",
   {           "roles": [
                "tenantIdTL_CEMP":
"pb",              ]
              "action": "EXPIRE"},
            {
               "rolestenantId": ["pb.amritsar",
              "action": "PAY",
              "nextState":  "SYSTEMAPPROVED",
              "roles": [
                "CITIZEN",
  ]              "TL_CEMP",
          }      "SYSTEM_PAYMENT"
              ]
            }
   },       ]
        },
{         {
           "tenantId": "pb.amritsar",
                    "sla": null,
                    "state": "CANCELLEDAPPROVED",
                    "applicationStatus": "CANCELLEDAPPROVED",
    
               "docUploadRequired": false,
                    "isStartState": false,
          "isTerminateState": false,
          "isTerminateStateisStateUpdatable": truefalse,
          "actions": [
        "isStateUpdatable": false,   {
                 "actionstenantId": null"pb.amritsar",
              "action": "EXPIRE",
},              "nextState": "EXPIRED",
 {             "roles": [
      "tenantId": "pb",         "SYSTEM"
           "sla": null,  ]
            },
     "state": "CITIZENACTIONREQUIRED",      {
              "applicationStatustenantId": "CITIZENACTIONREQUIREDpb.amritsar",
     
              "docUploadRequiredaction": false"CANCEL",
              "nextState": "CANCELLED",
    "isStartState": false,         "roles": [
          "isTerminateState": false,     "TL_APPROVER"
              ]
"isStateUpdatable": true,           }
         "actions": []
        },
        {
      {    "tenantId": "pb.amritsar",
            "sla": null,
          "tenantIdstate": "pbCANCELLED",
          "applicationStatus": "CANCELLED",
          "docUploadRequired": false,
    "action": "RESUBMIT",     "isStartState": false,
          "isTerminateState": true,
          "rolesisStateUpdatable": [false,
          "actions": null
        },
        {
  "TL_CEMP"        "tenantId": "pb.amritsar",
          "sla": null,
       ]        "state": "CITIZENACTIONREQUIRED",
          "applicationStatus": "CITIZENACTIONREQUIRED",
    },      "docUploadRequired": false,
          "isStartState": false,
     {     "isTerminateState": false,
          "isStateUpdatable": true,
          "tenantIdactions": "pb",[
            {
               "actiontenantId": "FORWARDpb.amritsar",
              "action": "RESUBMIT",
              "rolesnextState": ["FIELDINSPECTION",
              "roles": [
                "CITIZEN",          "TL_CEMP"
              ]
       "TL_CEMP"     },
            {
          ]    
              "tenantId": "pb.amritsar",
    }          "action": "FORWARD",
         ]     "nextState": "FIELDINSPECTION",
          },    "roles": [
           {     "CITIZEN",
                "tenantId": "pb",TL_CEMP"
              ]
        "sla": null,   }
          ]
      "state": "EXPIRED", },
        {
          "applicationStatustenantId": "EXPIREDpb.amritsar",
          "sla": null,
          "docUploadRequiredstate": false"EXPIRED",
          "applicationStatus": "EXPIRED",
          "isStartStatedocUploadRequired": false,
          "isStartState": false,
          "isTerminateState": true,
                    "isStateUpdatable": false,
                    "actions": null
    
           }
            ]
    }
  ]
}
    ]