Book a Demo

Author Topic: Export BPMN2.0 Diagram using Automation Interface  (Read 4269 times)

MichaelN

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Export BPMN2.0 Diagram using Automation Interface
« on: June 21, 2013, 12:44:46 am »
I'd like to export BPMN2.0 diagrams - as is already possible with the standard XMI publish dialog - using the automation interface. I did find in the documentation that the project object provides the capability to call the XMIExporter (ExportPackageXMI()).
But I did not find any references to the nescessary input paramaters to get the exported XMI in BPMN2.0 notation. Also the XMITypeEnum does not have an entry for bpmn notations.

Is there a source where I can get the needed information?

MichaelN

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Export BPMN2.0 Diagram using Automation Interf
« Reply #1 on: July 10, 2013, 06:32:28 pm »
Has anyone any experience with generating BPMN using the automation Interface?

Any information concerning this topic would be very nice.
« Last Edit: July 10, 2013, 06:33:02 pm by michaelN »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Export BPMN2.0 Diagram using Automation Interf
« Reply #2 on: July 10, 2013, 07:44:56 pm »
I faintly remember someone having asked a similar question recently. Have you tried a search?

q.

MichaelN

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Export BPMN2.0 Diagram using Automation Interf
« Reply #3 on: July 10, 2013, 09:08:39 pm »
Thank you for your suggestions.

Acctually I did some searches around the topic and those that could come at least close but did not find anything I could use.
Though my searches always only looked for threads in the Automation Interface part of the forum.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Export BPMN2.0 Diagram using Automation Interf
« Reply #4 on: July 10, 2013, 09:31:19 pm »
Google had some results for ExportPackageXMI. Maybe you can harvest there.

q.
« Last Edit: July 10, 2013, 09:31:53 pm by qwerty »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Export BPMN2.0 Diagram using Automation Interf
« Reply #5 on: July 11, 2013, 09:19:17 pm »
The xmitype enum has a lot more values then documented, but unfortunately the BPMN one doesn't seem to be included.
I'm afraid they just forgot to add it (like they forgot to add the documentation for the other ones).

I would suggest you send an email to Sparx support. They will probably be able to help you.

Geert