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

Details

    • CR1
    • 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 ).
    • Release Notes
    • 2021 Week 04-06 (from Jan 25), 2021 Week 07-09 (from Feb 15), 2021 Week 10-12 (from Mar 8)
    • +

    Description

      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)

      Attachments

        Issue Links

          Activity

            People

              josephblt Wagner Lemos
              romartin@redhat.com Roger Martinez
              Lubomír Terifaj Lubomír Terifaj
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: