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

BPMN editor [Business Central]: Missing structureRef for Message when using throwing message events

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • None
    • 7.11.0.GA
    • jBPM Designer
    • False
    • False
    • Release Notes
    • 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 ).
    • ---
    • ---

      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)
              kvarela@redhat.com Karina Varela (Inactive)
              Lubomir Terifaj Lubomir Terifaj
              Lubomir Terifaj Lubomir Terifaj
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: