Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-89014

[SLA] Create new SLA for total process resolution

    Details

    • Branch Version/s:
      7.2.x
    • Backported to Branch:
      Committed
    • Epic Link:
    • Sprint:
      Workflow_7.2_05, Workflow_7.2_06, Workflow_7.2_07, Workflow_7.2_08, Workflow_7.2_09, Workflow_7.2_10

      Description

      As a process owner, I want to create a new SLA, so I can define duration time for total process resolution.

      Acceptance Criteria

      • When there are no SLAs defined, the table should display the specific empty state;
      • An SLA will have a name (required), a description (optional) and a duration time (required);
      • For Duration Time section:
        • Only one of the fields are required (Day or Hours);
        • The fields should only accept numeric characters;
        • The “Hours” field will consider both hour and minutes as units. Users will provide input for each unit separately;
        • For hours, it should accept 23 as maximum value. The numeric control should block users from inputing a value bigger than 23. If a bigger value is typed in the field, the specific error message should be displayed;
        • For minutes, it should accept 59 as maximum value. The numeric control should block users from inputing a value bigger than 59. If a bigger value is typed in the field, the specific error message should be displayed;
      • If the user leaves a required field in blank the specific error message should be displayed;
      • SLAs within the same process can't have the same name. A specific error message should be displayed for this situation;
      • All field validations should occurs on the fly, while the user fills in the form. It doesn't require the user to fill in the entire form or the form to be submitted to see it;
      • The SLA metric will consider the total process resolution by default, so Start and Stop parameters are:
        • Start: Instance created;
        • End: Instance completed;
      • The duration time will consider a 24/7 calendar by default;
      • When displaying Duration Time on the SLA data table, we should shorten the time units by using the biggest measurement possible (See documentation for reference on displaying time);
      • When an SLA is saved or updated, all instances In Progress for the current workflow version should recalculate time to reflect the duration time established;
        • An info alert should be embedded at the SLA dataset display informing there might be a delay for the updates to be fully processed (as specified on Figma mockup). The alert is temporary (disappear after 5sec) and dismissible;
        • It doesn’t recalculate time for completed instances;
      • For the Reports table:
        • The sum for items On time + Overdue should be equal to the Total Open. (this criteria is not valid, cause some items may not have SLAs triggered)
        • When there is no SLAs set for a process, the columns On Time and Overdue should return an empty value (use dash "-");

      Definitions of Done

      • Related tests created and passed successfully;
      • All Acceptance Criteria were passed;
      • Make sure that all system documentation were updated (if necessary);
      • Validated by QA, Product Designer and/or PM;
      • No critical issue related to Story scope (ex.: similar of a FP4, FP5 bug);
      • Code with peer review completed.

      Design Deliverable (See mockup page on Figma)
      https://www.figma.com/file/JFaDDwXeKzCIfqbCwa5u3suU/06-create-sla-nm?node-id=1%3A205

      Documentation
      https://docs.google.com/document/d/1IsUguBBSI3swGZu7SSdADa8rpNWN6sfoCAt7YEgq0OI/edit?usp=sharing

        Attachments

          Issue Links

          1.
          Mockup Creation LPS-89122 Technical Task Closed Nathália Moura (Inactive)  
          2.
          Draft Documentation LPS-89317 Technical Task Closed Nathália Moura (Inactive)  
          3.
          QA Review LPS-89356 Technical Task Closed Diego Furtado  
          4.
          Technical Review LPS-89357 Technical Task Closed Rafael Praxedes  
          5.
          Create CRUD LPS-89626 Technical Task Closed Rafael Praxedes  
          6.
          Data Visualization LPS-89911 Technical Task Closed Brian Chan  
          7.
          Update the workflow reports index API LPS-90284 Technical Task Closed Rafael Praxedes  
          8.
          Add ability to compute if the workflow instances are on time/overdue taking the SLAs into account LPS-90826 Technical Task Closed Rafael Praxedes  
          9.
          Expose services via REST LPS-91184 Technical Task Closed Rafael Praxedes  
          10.
          Add backend validation LPS-91445 Technical Task Closed Brian Chan  
          11.
          Integrate Backend Validation LPS-91896 Technical Task Closed Brian Chan  
          12.
          Product QA Test Validation - Round 1 LPS-91974 Technical Testing Closed Manoel Cyreno  
          13.
          Design Review LPS-92232 Technical Task Closed Nathália Moura (Inactive)  
          14.
          Apply HashRouter LPS-92333 Technical Task Closed Rafael Praxedes  
          15.
          [BUG] When you do not have SLA configured for the process, or not yet been triggered, the system should display "-" instead of "0" LPS-93070 Technical Task Closed Brian Chan  
          16.
          [BUG] The Hour field at the SLA form is missing the error message if both Duration and Hour fields are not filled. LPS-93072 Technical Task Closed Paulo Cruz (Inactive)  
          17.
          [BUG] When saving an SLA, the confirmation toast alert message is not showing up LPS-93073 Technical Task Closed Paulo Cruz (Inactive)  
          18.
          Product QA Test Validation - Round 2 LPS-93117 Technical Testing Closed Manoel Cyreno  
          19.
          [BUG] An update notification message appears when the user opens the SLA page LPS-93071 Technical Task Closed Paulo Cruz (Inactive)  
          20.
          [BUG] The alert message for when creating a new SLA is wrong LPS-93074 Technical Task Closed Paulo Cruz (Inactive)  
          21.
          [BUG] Duration time section is required at all, and the system required that the user fill the "days" field LPS-93075 Technical Task Closed Brian Chan  
          22.
          [BUG] The system doesn't show the duration time for big value properly on the SLA table view LPS-93076 Technical Task Closed Paulo Cruz (Inactive)  
          23.
          Apply ListView component on SLA List LPS-93328 Technical Task Closed Brian Chan  

            Activity

              People

              Assignee:
              nathalia.moura Nathália Moura (Inactive)
              Reporter:
              nathalia.moura Nathália Moura (Inactive)
              Recent user:
              Brian Wulbern
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  7.2.X
                  Master