Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: rmartinezb on February 16, 2017, 03:51:19 am

Title: Export extended BPMN2.0 elements
Post by: rmartinezb 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
(http://thumbs.subefotos.com/09d5154204aa9141e228f7c99e886961o.jpg) (http://subefotos.com/ver/?09d5154204aa9141e228f7c99e886961o.png)


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
(http://thumbs.subefotos.com/50a067718b8160d3e3128a94fe3cab1fo.jpg) (http://subefotos.com/ver/?50a067718b8160d3e3128a94fe3cab1fo.png)

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

Title: Re: Export extended BPMN2.0 elements
Post by: Geert Bellekens 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
Title: Re: Export extended BPMN2.0 elements
Post by: rmartinezb 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!
Title: Re: Export extended BPMN2.0 elements
Post by: qwerty 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.
Title: Re: Export extended BPMN2.0 elements
Post by: Paolo F Cantoni 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
Title: Re: Export extended BPMN2.0 elements
Post by: qwerty 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.
Title: Re: Export extended BPMN2.0 elements
Post by: Glassboy 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.
Title: Re: Export extended BPMN2.0 elements
Post by: KP 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.
Title: Re: Export extended BPMN2.0 elements
Post by: Paolo F Cantoni 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
Title: Re: Export extended BPMN2.0 elements
Post by: Glassboy on February 21, 2017, 06:30:39 am
Also rabbits are crepuscular and hedgehogs are nocturnal.  ;D
Title: Re: Export extended BPMN2.0 elements
Post by: rmartinezb 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.

(http://thumbs.subefotos.com/55d70ec3878ab7e431e8404046129e23o.jpg) (http://subefotos.com/ver/?55d70ec3878ab7e431e8404046129e23o.png)(http://thumbs.subefotos.com/5920fcb752ff42313fb9230e6abe265bo.jpg) (http://subefotos.com/ver/?5920fcb752ff42313fb9230e6abe265bo.png)
Standard bpmn pool elelementSame element, after delete stereotype and put it again
Title: Re: Export extended BPMN2.0 elements
Post by: Eve 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).
Title: Re: Export extended BPMN2.0 elements
Post by: rmartinezb 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?
Title: Re: Export extended BPMN2.0 elements
Post by: qwerty on April 19, 2017, 06:12:18 pm
Most likely you have the wrong MDG enabled.

q.
Title: Re: Export extended BPMN2.0 elements
Post by: Geert Bellekens 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
Title: Re: Export extended BPMN2.0 elements
Post by: rmartinezb on April 19, 2017, 06:47:46 pm
Well, that was the problem, I had the 1.0 and 1.1. versions active.
I think I'll do a little addin to change the custom stereotypes to base bpmn 2.0 ones before exporting the models and restoring them after that.

Thanks ^^