Book a Demo

Author Topic: Modeling with BPMN 1.1  (Read 11975 times)

Leo Vega

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Modeling with BPMN 1.1
« on: November 25, 2009, 01:10:40 am »
Hi!
I'm trying to make a process model, reflecting the use of the DataObject in each message flows. However, I can't find a viable way of linking the DataObject with the message flows.
I have an example of how the diagram should be set according to BPMN 1.1.

T.I.A.

philchudley

  • EA User
  • **
  • Posts: 750
  • Karma: +22/-0
  • EA Consultant / Trainer - Sparx Europe
    • View Profile
Re: Modeling with BPMN 1.1
« Reply #1 on: November 25, 2009, 08:28:33 pm »
Unfortunately you cannot link an DataObject to a message (or sequence flow) as per the BPMN 1.1 notation.

The closest I have come to a work around is to Right-Click the flow, and Attach a Note or Constraint. I chose a note to represent the DataObject

Alternatively you can do this (surprisingly!)

1) Add two Activities to a BPMN 1.1 diagram
2) Switch the toolbox to Class diagram
3) Create an association class relationship between the two enties, thereby creating a class to represent the DataObject
4) Set the navigation on the association
5) Create a sequence flow between the Activities and drag it to be on top of the association created in 3)
6) To make the class look like a BPMN 1.1 DataObject, create a shapescript to draw the DataObject shape and assign it to a Class stereotype <<DataObject>>
7) Change the association class stereotype to <<DataObject>>

For your information the shapescript is:

shape main {
      startpath();
      moveto(0, 0);
      lineto(80, 0);
      lineto(100, 20);
      lineto(100, 100);
      lineto(0, 100);
      endpath();
      fillandstrokepath();
      moveto(80, 0);
      lineto(80, 20);
      lineto(100, 20);      
}
shape label {
      setorigin("SW", 0, 5);
      print("#NAME#");
}

Cheers
Models are great!
Correct models are even greater!