Auto Escalation UI Flow
Objective
Employee Inbox (Old UI)

Technical Implementation Details


Escalated Tab
On-Click History

Role Action Mapping
API
Roles
Action ID
Last updated
Was this helpful?
Refer to the employee inbox technical documentation below before reading the auto-escalation flow details.
The auto-escalation option provides employees with the option to view all escalated applications that have not been acted on.

Note
The tab ASSIGNED TO ME is inter-changed to ALL vice versa and the Escalated tab is added in the 3rd position.
Nearing Escalation and Escalated: The localisation message of Escalated is changed to SLA Breached.
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.ProcessInstances using egov-workflow-v2/egov-wf/process/_search
get the escalated applications in escalatedPayload.ProcessInstances using egov-workflow-v2/egov-wf/escalate/_search
pushing escalated applications into all applications with isEscalatedApplication flag with true value, for finding the escalated application in all applications.
This works the same as Employee Inbox.
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:
The isEscalatedApplication is the flag added initially for separating the escalated applications to show in the escalated tab.
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

Note: Inbox functionality works the same as before as outlined in the Employee Inbox document attached here.
/egov-workflow-v2/egov-wf/escalate/_search
EMPLOYEE
2150
Last updated
Was this helpful?
Was this helpful?
if (get(item, "isEscalatedApplication", false)) {
escalatedToMe.push([...dataRows])
}