...
Name of the business code in the workflow, this should be set to matching value to the config businessService field in workflow master
property.workflow.name=PT.CREATE
property.update.workflow.name=PT.CREATE
Sample workflow config - (The same PT.CREATE can be used for update workflow also since both involve the same functionality)
Code Block | ||
---|---|---|
| ||
{ "tenantId": "pb", "businessService": "PT.CREATE", "business": "PT", "businessServiceSla": null, "states": [ { " { "tenantId": "pb", "sla": null, "state": null, "applicationStatus": "INWORKFLOW", "docUploadRequired": false, "isStartStateapplicationStatus": true"INWORKFLOW", "docUploadRequired": false, "isStartState": true, "isTerminateState": false, "actions": [ { "tenantId": "pb", "action": "OPEN", "nextState": "OPEN", "roles": [ "CITIZEN", "EMPLOYEE" ] } ] }, { "tenantId": "pb", "sla": null, "state": "OPEN", "applicationStatus": "INWORKFLOW", "docUploadRequired": false, "isStartState": true, "isTerminateState": false, "actions": [ { "tenantId": "pb", "action": "VERIFY", "nextState": "DOCVERIFIED", "roles": [ "PT_DOC_VERIFIER" ] } ] }, { "tenantId": "pb", "sla": null, "state": "DOCVERIFIED", "applicationStatus": "INWORKFLOW", "docUploadRequired": false, "isStartState": false, "isTerminateState": false, "actions": [ { "tenantId": "pb", "action": "FORWARD", "nextState": "FIELDVERIFIED", "roles": [ "PT_FIELD_INSPECTOR" ] } ] }, { "actionstenantId": "pb", [ { "tenantIdsla": "pb"null, "action": "OPEN", "nextStatestate": "OPENFIELDVERIFIED", "roles": [ "applicationStatus": "INWORKFLOW", "CITIZEN", "EMPLOYEEdocUploadRequired": false, ] } "isStartState": false, ] }, { "tenantIdisTerminateState": "pb"false, "sla": null, "state": "OPEN", "applicationStatusactions": "INWORKFLOW", [ "docUploadRequired": false, "isStartState": true, "isTerminateState": false,{ "actions": [ { "tenantId": "pb", "action": "VERIFY", "nextState": "DOCVERIFIED", "action": "rolesAPPROVE":, [ "PT_DOC_VERIFIER" ] "nextState": "APPROVED", } ] }, { "tenantIdroles": "pb",[ "sla": null, "state": "DOCVERIFIED", "applicationStatus": "INWORKFLOW", "docUploadRequiredPT_APPROVER": false, "isStartState": false, "isTerminateState": false, "actions": [ ] { "tenantId": "pb", "action": "FORWARD" }, "nextState": "FIELDVERIFIED", { "roles": [ "PT_FIELD_INSPECTOR" ] "tenantId": "pb", } ] }, { "action": "tenantId": "pb",REJECT", "sla": null, "state": "FIELDVERIFIED", "applicationStatusnextState": "INWORKFLOWREJECTED", "docUploadRequired": false, "isStartState": false, "isTerminateState": false, "actionsroles": [ { "tenantId": "pb", "actionPT_APPROVER": "APPROVE", "nextState": "PENDINGPAYMENT", "roles": [ ] "PT_APPROVER" ] } }, { ] "tenantId": "pb", "action": "REJECT" }, "nextState": "REJECTED", { "roles": [ "PT_APPROVERtenantId": "pb", ] } "sla": null, ] }, { "tenantIdstate": "pbREJECTED", "sla": null, "stateapplicationStatus": "PENDINGPAYMENTINACTIVE", "applicationStatus": "INWORKFLOW", "docUploadRequired": false, "isStartState": false, "isTerminateStateisStartState": false, "actions": [ { "isTerminateState": true, "tenantId": "pb", "actionactions": "PAY",null "nextState": "APPROVED" }, "roles": [ { "EMPLOYEE", "CITIZENtenantId": "pb", ] } "sla": null, ] }, { "tenantIdstate": "pbAPPROVED", "sla": null, "stateapplicationStatus": "REJECTEDACTIVE", "applicationStatus": "INACTIVE", "docUploadRequired": false, "isStartState": false, "isTerminateState": true, "actionsisStartState": nullfalse, }, { "tenantIdisTerminateState": "pb"true, "sla": null, "state": "APPROVED", "applicationStatusactions": "ACTIVE",null "docUploadRequired": false, "isStartState": false, } "isTerminateState": true, "actions": null] } ] } |
Notifications :
To enable or disable notifcation
notif.sms.enabled=true
...