Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-89082 [SLA] Be informed when errors occurs on SLA configurations
  3. LPS-95369

[BUG] When the SLA is blocked the system is counting on the previous SLA status for the process instance

    Details

    • Type: Technical Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Workflow
    • Labels:
      None

      Description

      Setup

      • Under Control Panel > Workflow > Process Builder, make sure the workflow Single Approver is published and assign Blogs Entry asset type to it;

      Step-by-Step:

      1. Go to Control Panel > Workflow > Metrics;
      2. Access the Single Approver report page;
      3. Add new SLA named Time in Review, select Enters Task: Review for start field and Leaves Task: Review for stop field, set 5min duration and save it;
      4. Go to Site Panel > Content & Data > Blogs and submit a blog post for approval;
      5. Go to Control Panel > Workflow > Metrics and wait > 2min;
      6. Access the Single Approver report page and check that the metrics for Pending Items card will be 0 Overdue, 1 On Time, 0 Untracked and 1 Total Pending;
      7. Go to Control Panel > Workflow > Process Builder, edit the Single Approver workflow by changing the name of "review" task for "Content Review" and click Update button;
      8. Go to Control Panel > Workflow > Metrics and wait > 2min;
      9. Access the Single Approver report page;

      Actual result:
      The metrics for Pending Items card are 0 Overdue, 1 On Time, 0 Untracked and 1 Total Pending.

      Expected:
      When the SLA is blocked, the system can't count on any deadlines for the process instances. Synce this is the only SLA set for the process, it should consider the instance as Untracked instead of as On time until the SLA configuration is fixed.

      Environment: master-private (Liferay DXP 7.2 EE) http://192.168.109.41:7200/

      Browsers:

      • Chrome Latest

        Attachments

          Activity

            People

            • Assignee:
              brian.chan Brian Chan
              Reporter:
              nathalia.moura Nathália Moura
              Recent user:
              Inácio Nery
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                41 weeks, 2 days ago

                Packages

                Version Package