Book a Demo

Author Topic: BPMN process diagram validation  (Read 10531 times)

Pawel Zubkiewicz

  • EA User
  • **
  • Posts: 78
  • Karma: +2/-1
    • View Profile
    • zubkiewicz.com
BPMN process diagram validation
« on: March 20, 2015, 11:13:15 pm »
Hello,

Is there a way to validate syntactical correctness of BPMN process diagram?

I'm using EA12.
Enhanced Requirement Attributes Addin for Enterprise Architect (ERA Addin) - http://zubkiewicz.com/?p=239

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: BPMN process diagram validation
« Reply #1 on: March 21, 2015, 12:21:06 am »
You can try Project/Model Validation/Validate Selected. I have no clue whether BMPN adds own validation rules (try creating some nonsense and see what it will tell you). Else you can either write your own validation rules or use a script to verify model constraints.

q.

smendonc

  • EA User
  • **
  • Posts: 148
  • Karma: +5/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: BPMN process diagram validation
« Reply #2 on: March 21, 2015, 03:35:54 am »
EA12 does include a validator for BPMN 2.0 diagrams.  I've never used it so don't know how good it is.

On the diagram right click and choose validate diagram.

Pawel Zubkiewicz

  • EA User
  • **
  • Posts: 78
  • Karma: +2/-1
    • View Profile
    • zubkiewicz.com
Re: BPMN process diagram validation
« Reply #3 on: March 21, 2015, 03:54:28 am »
Quote
You can try Project/Model Validation/Validate Selected.

Thanks for answer. That's partially correct.

But I don't see it in the menu. I don't have Project / Model Validation option in menu. I'm using EA12 Ulitimate trail with complete menu set. Anyone can have idea why I don't have this option?  I can acccess it via Ctrl+Alt+V key shortcut.

I'm using right now EA12 trial (my company considers buying it), and I have only experience with version 9 and 10. Generally I'm focusing on new things in this release.


Enhanced Requirement Attributes Addin for Enterprise Architect (ERA Addin) - http://zubkiewicz.com/?p=239

smendonc

  • EA User
  • **
  • Posts: 148
  • Karma: +5/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: BPMN process diagram validation
« Reply #4 on: March 21, 2015, 04:50:39 am »
The option qwerty is referring to has been moved to Package/Model Validation/Validate Current Package in v12

MMA

  • EA User
  • **
  • Posts: 63
  • Karma: +3/-0
    • View Profile
Re: BPMN process diagram validation
« Reply #5 on: March 23, 2015, 09:15:55 am »
Hi Guys,

EA12 includes a validator for BPMN 2.0 diagrams. It is separate from "Package/Model Validation/Validate Current Package".

The validator had implemented all rules from BPMN 2.0 Specification.
Or you could refer to http://brsilver.com/the-rules-of-bpmn/
All the "bpmn rules" and most of the "style rules" are  supported by the validator.

All you need to do is right click on the BPMN 2.0 diagram to show the context menu, the menu item "Validate Diagram" will be right below "Properties...".

Note: the diagram has to be a BPMN 2.0 diagram; otherwise the menu item won't be there.

Hope that helps  ;)
Miles

« Last Edit: March 23, 2015, 12:11:18 pm by milesma »

Pawel Zubkiewicz

  • EA User
  • **
  • Posts: 78
  • Karma: +2/-1
    • View Profile
    • zubkiewicz.com
Re: BPMN process diagram validation
« Reply #6 on: March 23, 2015, 09:06:42 pm »
Thank you for your help guys.

Additional question.

Unfortunately, I started modeling a new project with old BPMN version enabled in MDG settings. Now i turned them off, only BPMN2 is enabled.

I feel that all of the elements in my business processes like:
- Business Process
- Activity
- Events

Are not considered by EA as BPMN2 (in properties of them I don't see BPMN2 tab).

Is there any way to adjust/migrate/transform them so EA would consider them as BPMN2 ?
Enhanced Requirement Attributes Addin for Enterprise Architect (ERA Addin) - http://zubkiewicz.com/?p=239

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: BPMN process diagram validation
« Reply #7 on: March 23, 2015, 11:12:59 pm »
IIRC there is some script from Sparx somewhere on their resource site. Can't recall where :-/

q.

MMA

  • EA User
  • **
  • Posts: 63
  • Karma: +3/-0
    • View Profile
Re: BPMN process diagram validation
« Reply #8 on: March 24, 2015, 08:17:58 am »
Then the old BPMN should be version 1.1
Follow this link to migrate BPMN 1.1 diagrams and elements to BPMN2.0

http://www.sparxsystems.com/enterprise_architect_user_guide/9.0/domain_based_models/migrate_bpmn_1_1_model_to_bpmn.html

IMPORTANT: Backup your original model.