BPMN Interchange ValidationFalko Mengecamunda services GmbH1 February 201 3            3
Agenda         1. Creating Reference Models         2. Validation Process         3. Diagram Validation         4. Semanti...
Creating Reference Models  Which modeling tool to use?  Requirements:  −PNG export    - Symbols close to the BPMN Spec  ...
Validation Process: Import Only
Validation Process: Export Only
Validation Process: Roundtrip
Diagram Validation
Pixel-based Diff: Transparent Overlay
Pixel-based Diff: Example Reference
Pixel-based Diff: Example Result with Missing Elements
Pixel-based Diff: Perceptual Image Diff $ perceptualdiff reference.tif vendor.tiff -output diff.ppm  FAIL: Images are visi...
Pixel-based Diff: ImageMagic  ImageMagic:   $ compare reference.png screenshot.png diff.png
Pixel-based Diff: ImageMagic
Pixel-based Diff: ImageMagic
Pixel-based Diff: Discussion  Pros:  −Spots even slightest differences (could detect encoding problems)  −Open Source too...
DI-based Diff  Normalize DI and compare positions and dimensions   Open Source implementation of algorithm available: ca...
DI-based Diff  Can also be used as an overlay to highlight differences in a model
XML Validation 1. XML Schema validation 2. Check if elements still are present & have same IDs and attributes 3. XML Diff ...
Semantic Model Validation  1. Load process with EMF meta model provided by the BPMN Spec   - Open Source implementation av...
Semantic Model Validation  Meta model comparison even allows for a graphical diff
Common Interchange Problems  Element IDs not preserved  Ordering of DI elements  Node center instead of upper left corn...
camunda services GmbH Thank you!                                                                Zossener Str. 55-58       ...
2013-02-13 - BPMN Interchange Validation
2013-02-13 - BPMN Interchange Validation
2013-02-13 - BPMN Interchange Validation
2013-02-13 - BPMN Interchange Validation
2013-02-13 - BPMN Interchange Validation
2013-02-13 - BPMN Interchange Validation
2013-02-13 - BPMN Interchange Validation
2013-02-13 - BPMN Interchange Validation
Upcoming SlideShare
Loading in...5
×

2013-02-13 - BPMN Interchange Validation

611

Published on

Presentation for the 2nd meeting of the BPMN Model Interchange Workings Group at the OMG.

It describes camundas experience with different tools that can be used to validate BPMN process models and diagrams.

Falko Menge
13 February 2013

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
611
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
16
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

2013-02-13 - BPMN Interchange Validation

  1. 1. BPMN Interchange ValidationFalko Mengecamunda services GmbH1 February 201 3 3
  2. 2. Agenda 1. Creating Reference Models 2. Validation Process 3. Diagram Validation 4. Semantic Model Validation 1. XML 2. BPMN Meta Model 5. Common Interchang Problems
  3. 3. Creating Reference Models  Which modeling tool to use?  Requirements: −PNG export - Symbols close to the BPMN Spec - No colors - No shadows - No 3D icons −XML export - Schema-valid - Conform to BPMN 2.0 Spec −API for automation of hundreds of test cases
  4. 4. Validation Process: Import Only
  5. 5. Validation Process: Export Only
  6. 6. Validation Process: Roundtrip
  7. 7. Diagram Validation
  8. 8. Pixel-based Diff: Transparent Overlay
  9. 9. Pixel-based Diff: Example Reference
  10. 10. Pixel-based Diff: Example Result with Missing Elements
  11. 11. Pixel-based Diff: Perceptual Image Diff $ perceptualdiff reference.tif vendor.tiff -output diff.ppm FAIL: Images are visibly different 696 pixels are different
  12. 12. Pixel-based Diff: ImageMagic  ImageMagic: $ compare reference.png screenshot.png diff.png
  13. 13. Pixel-based Diff: ImageMagic
  14. 14. Pixel-based Diff: ImageMagic
  15. 15. Pixel-based Diff: Discussion  Pros: −Spots even slightest differences (could detect encoding problems) −Open Source tools available: ImageMagic, PerceptualDiff  Cons: −Too pedantic (we dont want to make all tools look exactly the same) - Could be solved by re-import to reference modeling tool −Bounding box detection and cropping needed - Open Source implementation of algorithm available: camunda fox
  16. 16. DI-based Diff  Normalize DI and compare positions and dimensions  Open Source implementation of algorithm available: camunda fox
  17. 17. DI-based Diff  Can also be used as an overlay to highlight differences in a model
  18. 18. XML Validation 1. XML Schema validation 2. Check if elements still are present & have same IDs and attributes 3. XML Diff using tools like XMLUnit for Java −One defines rules of what is considered equal in XML through so-called Difference Listeners
  19. 19. Semantic Model Validation 1. Load process with EMF meta model provided by the BPMN Spec - Open Source implementation available: camunda fox quickstart 2. Meta Model Diff - Open Source implementation available: Eclipse EMF Compare - Any difference reported is likely to be an interchange problem
  20. 20. Semantic Model Validation  Meta model comparison even allows for a graphical diff
  21. 21. Common Interchange Problems  Element IDs not preserved  Ordering of DI elements  Node center instead of upper left corner  Unicode Support  Wrong semantic element referenced in DI  Pool references Process  Data Store & Data Object instead of References
  22. 22. camunda services GmbH Thank you! Zossener Str. 55-58 10961 Berlin Telefon: +49 30 664 0409-00 Telefax: +49 30 664 0409-29 Email: info@camunda.com Falko Menge Consultant, trainer and software developer falko.menge @camunda.comBPMN Interchange Validation1 February 201 3 3 Blog: www.bpm-guide.de
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×