Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-9586

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • 7.49.0.Final
    • Designer
    • False
    • False
    • NEW
    • NEW
    • 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)

      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"/>

       

              josephblt Wagner Lemos (Inactive)
              ftirados Francisco Javier Tirado Sarti
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: