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

Workflow transitions are not ordered in "my workflow tasks" actions menu

Details

    Description

      Steps to reproduce with test test user:

      1. Add a new workflow (you can duplicate Single Approver and add some transitions).
      2. Add a new form with a text field, a configure it with the workflow previously created.
      3. Add the form to a page and submit it.
      4. Go to the user's notifications panel and check there is a new task pending. Assign it to you (test user) so you can start reviewing it.
      5. Click again on the menu and check the options.

      Expected result: options are ordered as they are in the source.

      Current result: options do not follow any order.

      This is an example of outgoing transitions defined for task review:

      <transitions> 
         <transition> 
            <name>primera</name> 
            <target>approved</target> 
            <default>true</default> 
         </transition> 
         <transition> 
            <name>rechazar</name> 
            <target>approved</target> 
            <default>false</default> 
         </transition> 
         <transition> 
            <name>segunda</name> 
            <target>approved</target> 
            <default>false</default> 
         </transition> 
         <transition> 
            <name>ultima</name> 
            <target>update</target> 
            <default>false</default> 
         </transition> 
         <transition> 
            <name>ultima2</name> 
            <target>rechazado</target> 
            <default>false</default> 
         </transition> 
      </transitions>
      

      And this is how the different options appear in the menu for 7.2.x (see attached screenshot).

      Attachments

        Issue Links

          Activity

            People

              rodrigo.cunha Rodrigo Cunha (Inactive)
              cristina.rodriguez Cristina Rodriguez
              Kiyoshi Lee Kiyoshi Lee
              Cristina Rodriguez Cristina Rodriguez
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                1 year, 22 weeks ago

                Packages

                  Version Package
                  7.2.10 DXP FP13
                  7.2.X