Auto Escalation UI Flow
Objective
Refer to the employee inbox technical documentation below before reading the auto-escalation flow details.
Employee Inbox (Old UI)The auto-escalation option provides employees with the option to view all escalated applications that have not been acted on.
Route - https://egov-micro-uat.egovernments.org/employee/inbox

Technical Implementation Details
Escalated API file path:
frontend/actions.js at master · egovernments/frontend. The escalated API is called based on given conditions.


get all applications in
payload.ProcessInstancesusingegov-workflow-v2/egov-wf/process/_searchget the escalated applications in
escalatedPayload.ProcessInstancesusingegov-workflow-v2/egov-wf/escalate/_searchpushing escalated applications into all applications with
isEscalatedApplicationflag with true value, for finding the escalated application in all applications.This works the same as Employee Inbox.
Escalated Tab
The Escalated tab shows all Escalated applications.
The process instance response fetches all records from which the records are filtered based on the following condition:
if (get(item, "isEscalatedApplication", false)) {
escalatedToMe.push([...dataRows])
}The isEscalatedApplication is the flag added initially for separating the escalated applications to show in the escalated tab.
On-Click History
The functionality works as it is but the only change is showing the symbol to identify the state from which it has escalated.
Functionality file path:
frontend/index.js at master · egovernments/frontend

Role Action Mapping
/egov-workflow-v2/egov-wf/escalate/_search
EMPLOYEE
2150
Last updated
Was this helpful?