Book a Demo

Author Topic: How to Automate Creating BPMN 1.1 Diagram?  (Read 3565 times)

pakcom

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
How to Automate Creating BPMN 1.1 Diagram?
« on: September 18, 2012, 09:24:39 pm »
Hello,

I want to create BPMN 1.1 diagram using my own Add-In.
Usually I code like this to create diagram:
Code: [Select]
EA.Diagram diagram = package.Diagrams.AddNew(DiagramName, DiagramType);
But, I don't know what is the value of DiagramType paramater to create BPMN 1.1 diagram.
Please give me direction for this.

Thank you.

jamesl

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: How to Automate Creating BPMN 1.1 Diagram?
« Reply #1 on: September 19, 2012, 01:51:05 am »
From looking at the contents of C:\Program Files\Sparx Systems\EA\MDGTechnologies\BPMN 1.1 Technology.xml

Possible values?

BPMN1.1::BPMN
BPMN1.1::BPEL

pakcom

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: How to Automate Creating BPMN 1.1 Diagram?
« Reply #2 on: September 19, 2012, 11:12:41 pm »
Thank you jamesl.
It works.