Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Filip Hendrickx on June 10, 2013, 07:22:57 am

Title: Adding tagged values to BPMN subset
Post by: Filip Hendrickx on June 10, 2013, 07:22:57 am
Hi all.

I'm in the process of creating an MDG technology, containing a subset of the BPMN 2.0 technology and some UML elements. I do this by creating a toolboxpage metaclass, extended by a stereotype that contains only those elements that I want. These elements are defined as attributes on the stereotype.

See http://users.telenet.be/filip.hendrickx/SparxEA/Subset2.eap for an example eap file.

In a separate profile package, I then want to add my own tagged values. Adding attributes to e.g. a stereotype that extends a standard UML metaclass like class works fine. However, this doesn't work for BPMN elements.

It doesn't work for the UML::Artifact either. I can solve this by changing its name in the toolbox to MyTech::Artifact(UML::Artifact), so I guess the problem with the BPMN elements is also related to using correct names, but I can't figure it out.

As an aside: is it possible to define my own tagged values once and add them to multiple elements (stereotypes) through e.g. extension or another mechanism, without having to define them on each element?

Many thanks!

Filip.
Title: Re: Adding tagged values to BPMN subset
Post by: Geert Bellekens on June 10, 2013, 03:42:42 pm
Filip,

You can't extend BPMN as that is already an extension to UML.
You can only extend EA's native types. UML and some EA specific elements such as requirements.

If you want to create a profile on top of BPMN you'll have to recreate it completely.

I believe there are ways to reverse engineer the BPMN profile, but I don't know how.

Geert
Title: Re: Adding tagged values to BPMN subset
Post by: Aaron B on June 10, 2013, 04:15:59 pm
This page might be of help:
http://www.sparxsystems.com/enterprise_architect_user_guide/10/extending_uml_models/non_uml_metatypes.html
Title: Re: Adding tagged values to BPMN subset
Post by: qwerty on June 10, 2013, 06:54:36 pm
http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1370543749/1#1

q.
Title: Re: Adding tagged values to BPMN subset
Post by: Filip Hendrickx on June 11, 2013, 02:13:29 am
Thanks for your replies.

I had already tried extending BPMN2.0 stereotypes, with no luck. After a few more experiments with this approach, it seams

Are these observations correct, or am I still missing something?

Best regards,

Filip.
Title: Re: Adding tagged values to BPMN subset
Post by: tomC on February 06, 2018, 04:07:36 am
I am using EA 13.5 and having the same issue trying to extend the BPMN 2.0 elements so I can add my own tagged values.   I used the Profile Helpers but without success.   Does anyone know if this is even possible without having to create my own Stereotypes on the base UML?  Thanks, Tom
Title: Re: Adding tagged values to BPMN subset
Post by: Geert Bellekens on February 06, 2018, 04:32:31 am
Hi Tom,

I think this page in the manual describes the process: http://www.sparxsystems.com/enterprise_architect_user_guide/13.5/modeling_tools/non-uml_metatypes.html (http://www.sparxsystems.com/enterprise_architect_user_guide/13.5/modeling_tools/non-uml_metatypes.html)

AFAIK this should work as described.

Geert
Title: Re: Adding tagged values to BPMN subset
Post by: Nabil on February 06, 2018, 04:40:20 am
There is a feature called template package but the problem is you cannot use it for extending BPMN stereotype. Only option to create a profile extending BPMN ELEMENTS