Book a Demo

Author Topic: Notes not copied from template package for BPMN Business Process  (Read 4209 times)

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
When you add something in the notes of a BPMN 2.0 Business Process in the template package, these notes are not copied to new BPMN Business processes as supposed to.
This works perfectly with any other type that I tested from UML, ArchiMate, BPMN, but not with BPMN Business processes.
For some reason the BPMN Business processes are an exception here.


Steps to Reproduce:
- Add a BPMN 2.0 Business process to the project template package
- fill in the notes of this business process
- create a new BPMN business process somewhere else in the model
- note that the notes of this new BPMN business process are not copied from the one in the template package.

Reported

Geert

potterm

  • EA User
  • **
  • Posts: 126
  • Karma: +0/-0
    • View Profile
Re: Notes not copied from template package for BPMN Business Process
« Reply #1 on: April 16, 2021, 08:18:58 pm »
Hi Geert,

Perhaps fixed in 15.2 (I'm using 15.1 still), but I've found a work-around of sorts for this issue, although it isn't pretty!  I created a new stereotype in an MDG (that I was building anyway) that extends from BPMN2.0::BusinessProcess. Set the Make Composite option to false for the new stereotype.  If I now add my new stereotyped version of BusinessProcess to the model template package it will copy the notes across.  There are some drawbacks though (apart from having to create the stereotyped version in an MDG):

1. The resulting businessprocess doesn't render in the same way as the BPMN2.0 original, although I'm hopeful that's just a shapescript glitch I need to sort out...
2. Obviously you don't get a child diagram automatically.

Martin

potterm

  • EA User
  • **
  • Posts: 126
  • Karma: +0/-0
    • View Profile
Re: Notes not copied from template package for BPMN Business Process
« Reply #2 on: April 16, 2021, 09:06:35 pm »
Spoke too soon :(.  Seems that this provides the notes at the point you add the business process to the diagram, but if you then save the diagram, close and re-open again they've disappeared  >:(