Book a Demo

Author Topic: Export extended BPMN2.0 elements  (Read 11391 times)

rmartinezb

  • EA User
  • **
  • Posts: 44
  • Karma: +1/-0
    • View Profile
Export extended BPMN2.0 elements
« on: February 16, 2017, 03:51:19 am »
Hi!

I created new elements that extend from BPMN Activity following this guide:
http://sparxsystems.com/enterprise_architect_user_guide/12.1/building_models/non-uml_metatypes.html



The new element works fine, but when I want to export the package that contains an activity with the new stereotype in BPMN 2.0 XML format, this element doesn't appear on the xml file. This doesn't happen if I export the package in XMI format.

Also I've noticed that the "Exclude EA Extensions" option is disabled


May EA doesn't allow this or I'm doing something wrong?


Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13495
  • Karma: +572/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Export extended BPMN2.0 elements
« Reply #1 on: February 16, 2017, 06:11:04 am »
I'm pretty sure the BPMN export only export "pure" BPMN, and no stereotypes derived from BPMN like yours.

The "exclude EA extensions" only makes sense for xmi export. It will export standard xmi without all the extra info that EA puts in it such as diagram layout and stuff like that.

Geert

rmartinezb

  • EA User
  • **
  • Posts: 44
  • Karma: +1/-0
    • View Profile
Re: Export extended BPMN2.0 elements
« Reply #2 on: February 16, 2017, 06:35:42 pm »
Thanks Geert, I'll have to find another solution.

Also, I was testing the EA export functionality, but I couldn't load the exported files on other tools like bizagi even if only standard elements are imported.

Do you know how I have to do the export so my diagrams are displayed correctly in other tools?

Greetings!
« Last Edit: February 16, 2017, 08:14:51 pm by rmartinezb »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Export extended BPMN2.0 elements
« Reply #3 on: February 17, 2017, 07:37:47 am »
Though OMG and vendors claim that XMI is an universal exchange format, in practice it isn't. It's a nice format to wrap proprietary information than can only be interpreted by a single vendor's tool. Of course, different vendors are interested in getting other vendor's format imported in their own tool. But the same way they wan't to prevent others from doing that (always to keep their own customers "happy"). So it's a chase between rabbit and hedgehog (German fairy tale).

q.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +257/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Export extended BPMN2.0 elements
« Reply #4 on: February 17, 2017, 10:28:13 am »
Though OMG and vendors claim that XMI is an universal exchange format, in practice it isn't. It's a nice format to wrap proprietary information than can only be interpreted by a single vendor's tool. Of course, different vendors are interested in getting other vendor's format imported in their own tool. But the same way they wan't to prevent others from doing that (always to keep their own customers "happy"). So it's a chase between rabbit and hedgehog (German fairy tale).

q.
Is that the German variant of "The tortoise and the hare?".  If not, please share... :)

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Export extended BPMN2.0 elements
« Reply #5 on: February 17, 2017, 08:36:04 pm »
No, it's a different story. In short: For some reason a hedgehog and a rabbit decide to  have a race along a long field. The rabbit is fast, but the hedgehog is smart. He asks his wife to position the other end of the field. Rabbit and hedgehog start the race in the next morning. Soon the rabbit arrives at the other end where the hedgehog's wife shows up "I'm already here". The rabbit can't believe (hedgehogs look all the same to rabbits, you know) and asks for a second run. Back at start, the hedgehog is still waiting: "I'm already here". So it repeats until the evening until the rabbit breaks down and dies. The hedgehog and his wife take the bet (IIRC a gold coin) and have a nice evening.

So, what's the moral of this story ;-)

q.

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
Re: Export extended BPMN2.0 elements
« Reply #6 on: February 20, 2017, 11:56:01 am »
So, what's the moral of this story ;-)

You've already lost the Australians, they don't have hedgehogs.

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Export extended BPMN2.0 elements
« Reply #7 on: February 20, 2017, 12:11:06 pm »
So, what's the moral of this story ;-)

You've already lost the Australians, they don't have hedgehogs.
We have Echidna. Superficially similar, but no chance an Echidna could ever out-smart a rabbit.
The Sparx Team
[email protected]

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +257/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Export extended BPMN2.0 elements
« Reply #8 on: February 20, 2017, 03:03:32 pm »
So, what's the moral of this story ;-)

You've already lost the Australians, they don't have hedgehogs.
We have Echidna. Superficially similar, but no chance an Echidna could ever out-smart a rabbit.
Also, there wouldn't be a "wife" around.  Apart from breeding time, Echidnas are solitary animals.

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
Re: Export extended BPMN2.0 elements
« Reply #9 on: February 21, 2017, 06:30:39 am »
Also rabbits are crepuscular and hedgehogs are nocturnal.  ;D

rmartinezb

  • EA User
  • **
  • Posts: 44
  • Karma: +1/-0
    • View Profile
Re: Export extended BPMN2.0 elements
« Reply #10 on: April 18, 2017, 07:20:04 pm »
I should like to broach this subject again, is there any way to export at least the base elements from where custom elements are extended?

I tried to delete custom stereotypes, and then export the diagram, but when I put again the base stereotype, the element does not return to its original state.

Standard bpmn pool elelementSame element, after delete stereotype and put it again
« Last Edit: April 18, 2017, 08:19:02 pm by rmartinezb »

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8097
  • Karma: +118/-20
    • View Profile
Re: Export extended BPMN2.0 elements
« Reply #11 on: April 19, 2017, 08:10:46 am »
If you look closely, in the before picture the stereotype was BPMN2.0::Pool. In the after it was BPMN::Pool (ie. BPMN 1.0).

rmartinezb

  • EA User
  • **
  • Posts: 44
  • Karma: +1/-0
    • View Profile
Re: Export extended BPMN2.0 elements
« Reply #12 on: April 19, 2017, 05:07:09 pm »
Yes, but I am selecting the BPMN2.0 stereotype , why is 1.0 being applied instead? And ow can I do to the 2.0 be applied?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Export extended BPMN2.0 elements
« Reply #13 on: April 19, 2017, 06:12:18 pm »
Most likely you have the wrong MDG enabled.

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13495
  • Karma: +572/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Export extended BPMN2.0 elements
« Reply #14 on: April 19, 2017, 06:30:54 pm »
Most likely you have the wrong MDG enabled.

q.
Or both 1.0 as 2.0

Geert