Book a Demo

Author Topic: EA16 / BPMN2.0: check where which diagram is used as composite diagram?  (Read 2263 times)

theEAuser

  • Guest
Hello,

following scenario:
- creating a BPMN activity "Activity-1" on a BPMN "Diagram-1"
- creating a BPMN activity "Activity-2" on a BPMN "Diagram-2"

- select "Activity-1" on "Diagram-1"
- right-click on "Activity-1" > New Child Diagram > Select Composite Diagram and select "Diagram-2"

-> "Activity-1" has now a '+' mark.
-> in "Activity-1" properties, the activityType is set to 'Sub-Process'
-> double clicking "Activity-1" opens "Diagram-2"

Question:
How can it be traced, if child diagrams like "Diagram-2" are used by any parent diagrams/activities like "Activity-1" on "Diagram-1"?
The properties of "Activity-1 or "Diagram-1" do not contain any information that it calls "Diagram-2" as a child process.

thanks in advance.
« Last Edit: January 17, 2023, 08:56:50 pm by theEAuser »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: EA16 / BPMN2.0: check where which diagram is used as composite diagram?
« Reply #1 on: January 17, 2023, 08:56:25 pm »
I'm afraid you are doing it wrong.

You should start with defining BPMN business processes who have a diagram.

Now you can either have a "sub-process" activity, that has it's own composite diagram (nested under the Activity). There is no "reuse" of these sub-process Activities. They merely serve as a grouping for a set of Activities on your diagram.

If you want to re-use, then you'll have to execute another Business Process
You create an Activity and set it's type to callProcessActivity (in the dialog, not in the docked properties window). Then select the business process you are calling in the calledActivityRef property.
In that case you'll want to set the composite diagram of that calling activity to the Business Process diagram to ease navigation.

In the second case, you'll know the relation between the calling Activity and the Business Process by checking the Traceability view in the Tagged Value References (calledActivityRef)

Geert

theEAuser

  • Guest
Re: EA16 / BPMN2.0: check where which diagram is used as composite diagram?
« Reply #2 on: January 17, 2023, 09:28:25 pm »
Hi Geert,

thanks for the hint.

If I create an Activity "Activity-1" and set it's type to callProcessActivity
and set in calledActivityRef the "Diagram-2", "Activity-1" will get a '+' sign
and the relation between "Activity-1" and "Diagram-2" can be seen in the traceabiliy view.
This enables now only the traceabiliy but not the ease of navigation, right?

For navigation purposes setting the composite diagramm of "Activity-1" to the "Diagram-2" is still needed, isn't it?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: EA16 / BPMN2.0: check where which diagram is used as composite diagram?
« Reply #3 on: January 17, 2023, 09:35:24 pm »
For navigation purposes setting the composite diagramm of "Activity-1" to the "Diagram-2" is still needed, isn't it?
Yes, that's what I mean with
Quote
In that case you'll want to set the composite diagram of that calling activity to the Business Process diagram to ease navigation.

Geert