Create new workflow entry for a given application number(businessId).
POST
/process/_transitionTo create new workflow applicationin the system. API supports bulk creation with max limit as defined in the Trade License Request. Please note that either whole batch succeeds or fails, there's no partial batch success. To create one workflow(ProcessInstance) instance, please pass array with one workflow(ProcessInstance) object.
Following Conditions are applied -
- Valid action is send according to workflow configuration defined
- supportDocuments to perform workflow action will created. In case of not attaching the Mandatory Supported Documents creation of workflow Fails.
- Application will move to next state if valid action is passes.
Request
Request samples
Responses
Used for search result and create only
Unique process instance id (UUID)
Unique Identifier of ULB
Business service key.
Business id is a unique identifier of a task. eg(Propertyid,
TLid, ServiceRequestid)
Actions are define for each business service.
Module to which process instance belongs to.
Status will be populate by efengine for each action, if it is configured.
consumer can pass the comment on each action.
Documents can be attached with each of the action.
Wf will return next possible action based on .
Date from when license is valid as epoch.
Date from when license is valid as epoch.
Status after action performed
Status before action performed
Rating for current process instance
{
"ResponseInfo": {},
"ProcessInstances": [
{
"id": "string",
"tenantId": "string",
"businessService": "string",
"businessId": "string",
"action": "string",
"moduleName": "string",
"state": "string",
"comment": "string",
"documents": [
{
"id": "string",
"tenantId": "string",
"documentType": "string",
"fileStoreId": "string",
"documentUid": "string",
"auditDetails": {}
}
],
"assigner": {},
"assignes": [
{}
],
"nextActions": [
"string"
],
"stateSla": 0,
"businesssServiceSla": 0,
"currentStatus": "string",
"previousStatus": "string",
"entity": {},
"rating": 1,
"escalated": true,
"auditDetails": {}
}
],
"totalCount": 0
}