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

Slow page load in My Workflow Tasks > Assigned to My Roles when 119 workflow tasks assigned to user



      Steps to reproduce

      1. Start up Liferay on a fresh database and log in as the admin user.
      2. Run the attached addUserWith10000Roles groovy script or create 10000 Roles and 1 User with these Roles.
      3. Go to Control Panel > Configuration > Workflow Definition and upload the attached custom_workflow.xml definition.
      4. Assign the admin user one of the "Test Roles" that was generated by the script in step 2.
      5. Go to Liferay > Configuration > Workflow Configuration.
      6. Set Blogs Entry to have the Custom Workflow Definition.
      7. Run the attached addBlogsEntry.groovy groovy script or add a Blogs portlet to the main page and submit 119 Blogs Entries for publication.
      8. Navigate to My Workflow Tasks.
      9. Click on the "Assigned to My Roles" tab.

      Results of Testing

      Expected Result: The page loads quickly, within 5 seconds.
      Actual Results: The page loads in 20 seconds.

      Reproduce on:
      Master: a61624d5129b8d26f7ba6a9c07f76130fd565b28
      ee-7.0.x: 606d9d902aef50ca425f401e51ef30ff8d02e70e


        1. addBlogsEntry.groovy
          1 kB
          Inácio Nery
        2. addUserWith10000Roles.groovy
          2 kB
          Inácio Nery
        3. custom_workflow.xml
          901 kB
          Inácio Nery
        4. Fixed.gif
          770 kB
          Harry Chai

          Issue Links



              • Votes:
                0 Vote for this issue
                4 Start watching this issue


                • Created:
                  Days since last comment:
                  3 years, 27 weeks, 2 days ago


                  Version Package
                  7.0.0 DXP FP14
                  7.0.0 DXP SP3
                  7.0.3 CE GA4
                  7.0.X EE