Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to access RSA BPMN diagrams on DM 4.0 using Rational Publishing Engine?

I try to create a simple report that should contain all BPMN diagrams from a DM-managed RSA BPMN model.
Following this Tutorial (version 2.0 for DM 4):
https://jazz.net/wiki/bin/view/Main/DMReportTutorial
, I use the REST Schema discovery feature, e.g. on
https://myserver/dm/reporting/uml?project=MyProject [...]


It is quite easy to find the diagrams for the UML domain:
$uml/PackageList/Package/diagrams/UMLDiagram/image


However, I can't find diagrams inside a bpmn domain model at
https://myserver/dm/reporting/bpmn?project=MyProject [...]


There is a separate "notation" domain, which contains diagram elements. But I don't know how to use it as a data source for the RPE template.

Does anybody know how to access the BPMN diagrams using the REST services?

Thanks for any hints
  Florian


btw: Schema discovery only works in RPE 1.1.2.2 - NOT latest RPE 1.2. release - seems to be a regression to the patches mentioned in the tutorial.

0 votes


Accepted answer

Permanent link
For BPMN models, diagrams are associated with resources of type bpmn/Definitions. The image would be accessed via $bpmn/DefinitionsList/Definitions/diagrams/Diagram/image

where the "Diagram" type above is part of the "notation" ontology. (FYI UMLDiagram is derived from Diagram)
Florian Georg selected this answer as the correct answer

1 vote

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,927
× 481
× 332
× 44

Question asked: Jan 08 '13, 8:06 p.m.

Question was seen: 5,002 times

Last updated: Jan 09 '13, 10:54 a.m.

Confirmation Cancel Confirm