Book a Demo

Author Topic: v16 - Why does the called (global) Bus. Proc. have to be in the same branch?  (Read 6551 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
As mentioned elsewhere, we have created various scenario simulations of BPMN processes.  We have discovered that the called (i.e. global) process needs to be in the same tree as the calling process for the simulation to work.  It can be at the same level or below, but not above.  This is (obviously) limiting the way in which we can group processes
An admittedly light reading f the BPMN 2.0 standard doesn't require any such constraint.
Can anyone
  • Confirm it is a constraint required by the Standard
  • Provide a rationale why Sparx EA requires this if it is NOT required by the Standard
Reported,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
1. BPMN doesn't have packages at all. It's not going to have anything to say about how a modeling tool that allows you to structure a BPMN model into packages is going to behave. But even if EA's simulation functionality adds constraints to how you can structure your model, EA is still more flexible than the specification.

2. It's just how EA works. All EA simulations work on an export of a particular package.

However, if you create a Package Import relationship from that package to the one containing common processes they will be included in the simulation.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
1. BPMN doesn't have packages at all. It's not going to have anything to say about how a modelling tool that allows you to structure a BPMN model into packages will behave. But even if EA's simulation functionality adds constraints to how you can structure your model, EA is still more flexible than the specification.

2. It's just how EA works. All EA simulations work on an export of a particular package.

However, if you create a Package Import relationship from that package to the one containing common processes, they will be included in the simulation.
Thanks. Again, your point is taken.  I'll give the Package Import option a go!

Paolo

[Edit:  Package Import "works a treat" - once you get the import direction correct  ;)   - Thanks, Eve!]
« Last Edit: October 24, 2022, 02:29:45 pm by Paolo F Cantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
1. BPMN doesn't have packages at all. It's not going to have anything to say about how a modelling tool that allows you to structure a BPMN model into packages will behave. But even if EA's simulation functionality adds constraints to how you can structure your model, EA is still more flexible than the specification.

2. It's just how EA works. All EA simulations work on an export of a particular package.

However, if you create a Package Import relationship from that package to the one containing common processes, they will be included in the simulation.
Thanks. Again, your point is taken.  I'll give the Package Import option a go!

Paolo

[Edit:  Package Import "works a treat" - once you get the import direction correct  ;)   - Thanks, Eve!]
Sorry, Eve,
spoke too soon!
It only appears to work!  The simulation parameters are NOT passed to the called process, so the execution is not in accordance therewith.  Is that a defect?

For the present, we've put the hierarchy back in place.  The simulation under test and theprocess under simulation are in the same tree.  The inactive simulations are elsewhere.

Paolo


« Last Edit: October 24, 2022, 02:47:33 pm by Paolo F Cantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
It only appears to work!  The simulation parameters are NOT passed to the called process, so the execution is not in accordance therewith.  Is that a defect?
I don't think I have enough information to meaningfully comment on that.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
It only appears to work!  The simulation parameters are NOT passed to the called process, so the execution is not in accordance therewith.  Is that a defect?
I don't think I have enough information to meaningfully comment on that.
Fair enough, I'll take it up with Support.

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

wivel

  • EA User
  • **
  • Posts: 243
  • Karma: +12/-1
  • Driven by Models
    • View Profile
Hi Paolo

Seems to me that you are taking a deep dive into BPMN Simulation? Perhaps you should suggest to Sparx that they should sponsor you for making a how-to webinar/demo video to share your experiences?

I have tried to look into BPMN simulation myself, but it seems to be part trial and error and part black magic to get it to work  :)

Henrik

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Hi Paolo

Seems to me that you are taking a deep dive into BPMN Simulation. Perhaps you should suggest to Sparx that they should sponsor you for making a how-to webinar/demo video to share your experiences?

I have tried to look into BPMN simulation myself, but it seems to be part trial and error and part black magic to get it to work  :)

Henrik
Hi Henrik,
Yes, I am "deep diving"!  I have told management that BPMN simulation works, and they are very keen.

I've happy to create the demo, once the functionality works (properly).   ;)

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

wivel

  • EA User
  • **
  • Posts: 243
  • Karma: +12/-1
  • Driven by Models
    • View Profile
Hi Paolo

Seems to me that you are taking a deep dive into BPMN Simulation. Perhaps you should suggest to Sparx that they should sponsor you for making a how-to webinar/demo video to share your experiences?

I have tried to look into BPMN simulation myself, but it seems to be part trial and error and part black magic to get it to work  :)

Henrik
Hi Henrik,
Yes, I am "deep diving"!  I have told management that BPMN simulation works, and they are very keen.

I've happy to create the demo, once the functionality works (properly).   ;)

Paolo
Hi Paolo

Sounds great :) Looking forward to it.

Henrik