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


    • 7.2.x
    • Committed
    • Workflow_7.2_05, Workflow_7.2_06, Workflow_7.2_07, Workflow_7.2_08, Workflow_7.2_09, Workflow_7.2_10


      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)



        Issue Links

          There are no Sub-Tasks for this issue.



              nathalia.moura Nathália Moura (Inactive)
              nathalia.moura Nathália Moura (Inactive)
              Rodrigo Cunha Rodrigo Cunha (Inactive)
              0 Vote for this issue
              1 Start watching this issue




                  Version Package