Book a Demo

Author Topic: Change MDG Technology model (BPMN 1.1)  (Read 4921 times)

skelesp

  • EA User
  • **
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Change MDG Technology model (BPMN 1.1)
« on: October 20, 2012, 04:19:29 am »
Hello,

I'm using the BPMN 1.1 model in EA. Today I was looking to modify this model a little bit. For example, I would like to add some tagged values to the activity element. Is there a possibility to adjust the MDG model.

Actually, I'm looking for a way to open the profile models, so I can add the attributes in this model...

Can anyone help me?

Thanks!

roates

  • EA User
  • **
  • Posts: 36
  • Karma: +0/-0
  • It is not that hard
    • View Profile
Re: Change MDG Technology model (BPMN 1.1)
« Reply #1 on: October 25, 2012, 01:01:02 pm »
Hi,

Not sure about the profile models... bu the xml files for the MDG Techs are located at:

C:\Program Files (x86)\Sparx Systems\EA\MDGTechnologies

You could edit the BPMN 1.1 Technology.xml file I guess but it's a less than ideal way to go about it as you'd have to modify any user's installs on EA in a similar way with your edits... pretty messy.

cheers,

Russell

Paulus

  • EA User
  • **
  • Posts: 152
  • Karma: +0/-0
    • View Profile
Re: Change MDG Technology model (BPMN 1.1)
« Reply #2 on: October 25, 2012, 09:49:03 pm »
Don't edit the MDG file itself but make a copy of it (e.g. to Extended  BPMN 1.1 Technology.xml and put that one on the network

Make sure you rename the relevant strings in the XML as well (search on BPMN 1.1). The best way to add tags would be to make a stereotype profile with tags yourself and study the XML (EA provides help on that).

Now your users only need to add the network path of this file to the MDG technology search path (menu/MDG technologies...) button 'Advanced... ' and after that you should see an additional MDG 'Extended BPM 1.1'  in the list of MDG technologies.

Any changes you make to this XML will be picked when a user restarts EA (so be careful to test changes first...).

best regards,

Paulus
« Last Edit: October 25, 2012, 09:52:04 pm by pmaessen »

skelesp

  • EA User
  • **
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Re: Change MDG Technology model (BPMN 1.1)
« Reply #3 on: October 25, 2012, 10:27:21 pm »
I know it would be better to create a new MDG xml, but the problem is that I already have a model with lots of elements and I want to synchronise them with the changes I make.

I guess it won't be possible to sync existing elements to the new xml? Or is there a way to do this?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Change MDG Technology model (BPMN 1.1)
« Reply #4 on: October 25, 2012, 10:41:48 pm »
The idea is to disable the old BPMN MDG and to add the custom version via Settings/MDG in a URL or path. Then you can enable your custom one. It is important to change the name so you can distinguish them in the MDG selection.

q.

skelesp

  • EA User
  • **
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Re: Change MDG Technology model (BPMN 1.1)
« Reply #5 on: October 26, 2012, 12:24:40 am »
If I enable a new MDG, will it be possible to sync the elements made in the old MDG to the new element profiles in the new MDG?

Eg. When I added a tagged value to the 'activity' element in my new MDG... Will it be possible to add this TV to all my existing elements (made with the old MDG) by synchronising these elements (Synchronize stereotype).

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Change MDG Technology model (BPMN 1.1)
« Reply #6 on: October 26, 2012, 03:44:03 am »
EA identifies the MDG by the internal GUID. If that stays the same and only the name differs it should be okay. Honestly, I have never done this in real life. So you should test it locally on your machine. Just try the above steps and see what happens. If the tags are still shown in the element properties compartment under the right name you're done. Simply draw a local copy of your model in an EAP and see what happens. Shouldn't be too much effort.

q.

edit: You need to change the alias in the 2nd line
Code: [Select]
alias="BPMN™ 1.1 new"
« Last Edit: October 26, 2012, 03:56:00 am by qwerty »