Auto Escalation UI Flow

Objective

Refer to the employee inbox technical documentation below before reading the auto-escalation flow details.

pageEmployee 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

Note

  1. The tab ASSIGNED TO ME is inter-changed to ALL vice versa and the Escalated tab is added in the 3rd position.

  2. Nearing Escalation and Escalated: The localisation message of Escalated is changed to SLA Breached.

  1. get all applications in payload.ProcessInstances using egov-workflow-v2/egov-wf/process/_search

  2. get the escalated applications in escalatedPayload.ProcessInstances using egov-workflow-v2/egov-wf/escalate/_search

  3. pushing escalated applications into all applications with isEscalatedApplication flag with true value, for finding the escalated application in all applications.

  4. 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.

Note: Inbox functionality works the same as before as outlined in the Employee Inbox document attached here.

pageEmployee Inbox (Old UI)

Role Action Mapping

APIRolesAction ID

/egov-workflow-v2/egov-wf/escalate/_search

EMPLOYEE

2150

Last updated

​All content on this page by eGov Foundation is licensed under a Creative Commons Attribution 4.0 International License.