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

Recipient Type in Tasks' Notifications of Kaleo Workflow is not consistent with its definition

    Details

      Description

      Recipient type of Notifications in Kaleo designer is changed when swtching the editor's display from "Source (Kaleo XML)" to "View". Steps to reproduce:

      1. Start a DXP bundle (from fp-58).
      2. Go to Control Panel -> Configuration -> Kaleo Designer and create a new one.
      3. From the 'View' display, add a new Task node.
      4. Configure for it a User Notification "not 1", with Recipient Type = Role (Site Owner) and save_._
      5. Switch to Source view to check the XML generated.
      6. Go to the 'View' tab again and check the new task node Settings (Notifications).

      Expected result :  notifications configuratios remains the same. Example of the original one:

      <notification>
         <name></name>
         <description></description>
         <template>
            <![CDATA[]]>
         </template>
         <template-language>freemarker</template-language>
         <notification-type>user-notification</notification-type>
         <recipients>
            <roles>
              <role>
                <role-id>20115</role-id>
              </role>
            </roles>
         </recipients>
         <execution-type>onAssignment</execution-type>
      </notification>

      Actual result Recipient type of notifications has changed to 'Role Type'. The <role> and <role-id> attribute is lost in the XML:

      <notification>
         <name></name>
         <description></description>
         <template>
            <![CDATA[]]>
         </template>
         <template-language>freemarker</template-language>
         <notification-type>user-notification</notification-type>
         <recipients>
            <roles></roles>
         </recipients>
         <execution-type>onAssignment</execution-type>
      </notification>

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                joyce.wang Joyce Wang
                Reporter:
                cristina.rodriguez Cristina Rodriguez
                Participants of an Issue:
                Recent user:
                Enterprise Release HU
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 2 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP68
                  7.0.X
                  7.1.10 DXP FP5
                  7.1.10.1 SP1
                  7.1.2 CE GA3
                  7.1.X
                  7.2.X
                  Master