Uploaded image for project: 'PUBLIC - Liferay IDE'
  1. PUBLIC - Liferay IDE
  2. IDE-3285

Kaleo Designer in Developer Studio offers workflowContext variable for notifications

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.1
    • Component/s: Kaleo Designer
    • Labels:
      None
    • Environment:
      Liferay IDE Version :3.1.0.201706010409-b1
      Liferay-dxp-digital-enterprise-7.0-sp3-tomcat

      Description

      Issue reported on UEA-218

      Steps to reproduce:

      1. Edit a workflow in Developer Studio

      2. Select the review task node

      3. Select Notifications

      4. Edit a Notification (create one of there isn't any)

      5. Drag&Drop $

      {workflowContext}

      variable from the right Palette

      switch to source view , locate the "Review Notification" notification, and edit its template 
      <template>workflowcontext: ${workflowContext}</template>
      6. Save the workflow and publish it

      7. Attempt to use the workflow

      (1).Control Panel - > Configuration -> Workflow Configuration - > Blog -> right click and edit -> select the deployed workflow - > save
      (2).Control Panel - > Configuration -> Kaleo Designer -> edit the deployed workflow -> publish
      (3).Liferay DXP - > Content -> Blog -> add blog entry -> submit for Publication

      Actual result: The portal will throw an error when it processes the notification

      Expected result: The workflowContext shouldn't appear in the Palette in step 5.

      Expected result has been confirmed on this message board thread:
      https://in.liferay.com/web/global.engineering/forums/-/message_boards/message/10815362

        Attachments

          Activity

            People

            Assignee:
            joye.luo Joye Luo (Inactive)
            Reporter:
            sunny.shi Sunny Shi (Inactive)
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              4 years, 32 weeks, 2 days ago

                Packages

                Version Package
                3.1