Auto Escalation UI Flow

Objective

Before going to read this Auto Escalation, please refer to inbox technical documentation here.

Provide Employee to show escalated applications that are pending for action.

Route - https://egov-micro-uat.egovernments.org/employee/inbox

Technical Implementation Details

Note:

  1. Here we inter-changed the tabs like ASSIGNED TO ME to ALL vice versa added Escalated tab in the 3rd position.

  2. Nearing Escalation and Escalated: Here we changed the localisation message of Escalated 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. Then it will work same like inbox Employee Inbox

Escalated Tab

Escalated Tab which shows the Escalated applications.

From the process instance response, we get all the records from which we filter the records based on the following condition

if (get(item, "isEscalatedApplication", false)) {
      escalatedToMe.push([...dataRows])
  }

here isEscalatedApplication is the flag added initially for separating the escalated application to show in the escalated tab.

OnClick on History:

The functionality works as it is but the only change is showing the symbol to identifying from which state it is escalated.

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

Role Action Mapping

API

ROLES

ACTION ID

1

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