Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-3437

BPMN editor [Business Central]: Missing structureRef for Message when creating process

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 7.10.1.GA
    • 7.10.0.GA, 7.11.0.GA
    • jBPM Designer
    • False
    • False
    • Release Notes
    • CR1
    • +
    • Undefined
    • Hide
      1. Create a new process.
      2. Create a process variable (e.g.: procVar of Boolean type).
      3. Create a start, intermediate catching, throwing or end message event.
      4. Set the Message property of message event to any value (e.g.: message01).
      5. Create Data Assignment for this event with:
        any Name (e.g.: out), Data Type of procVar (Boolean) and Target to process variable (procVar).
      6. Save the changes and see the the source code of the process.

      Actual result

      The generated bpmn lacks structureRef for itemDefinition with id: $MESSAGE_NAME_Type (e.g.: message02Type)

      Expected result

      The generated bpmn has structureRef for all defined Messages with value defined in assignments (e.g.: Boolean).

      Show
      Create a new process. Create a process variable (e.g.: procVar of Boolean type). Create a start, intermediate catching, throwing or end message event. Set the Message property of message event to any value (e.g.: message01 ). Create Data Assignment for this event with: any Name (e.g.: out ), Data Type of procVar ( Boolean ) and Target to process variable ( procVar ). Save the changes and see the the source code of the process. Actual result The generated bpmn lacks structureRef for itemDefinition with id: $MESSAGE_NAME_Type (e.g.: message02Type ) Expected result The generated bpmn has structureRef for all defined Messages with value defined in assignments (e.g.: Boolean ).
    • ---
    • ---
    • 2021 Week 04-06 (from Jan 25), 2021 Week 07-09 (from Feb 15), 2021 Week 10-12 (from Mar 8)

      The generated bpmn lacks structureRef for endMessageType

      <bpmn2:itemDefinition id="endMessageType"/>
      <bpmn2:message id="_Icr1JGVqEeuMVv5wG-FCkw" itemRef="endMessageType" name="endMessage"/>

      If the same steps are performed in desktop or vscode editor, the generated XML is correct

      <bpmn2:itemDefinition id="personMessageType" structureRef="com.javierito.Person"/>
      <bpmn2:message id="_bRr10EeVEDmMS7uvL9VDoA" itemRef="personMessageType" name="personMessage"/>

       

      Please note that fix should be verified for all event nodes (not only start and end)

            josephblt Wagner Lemos (Inactive)
            romartin@redhat.com Roger Martinez
            Lubomir Terifaj Lubomir Terifaj
            Lubomir Terifaj Lubomir Terifaj
            Votes:
            0 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              Resolved: