Book a Demo

Author Topic: Simulation of an easy model (BPMN 2.0)  (Read 4015 times)

impression

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Simulation of an easy model (BPMN 2.0)
« on: June 28, 2012, 01:57:22 am »
Hey guys,

I am using Enterprise Architect for some weeks and have problems with an easy simulation. I am using the BPMN 2.0 notation.

All I want to do is a small simulation consisting of 2 activities. The first activity has to initialize a variable (for e. g. x=0). The second activity has to increment that variable.

I would be very grateful if someone could help me with a small tutorial

Thank you.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Simulation of an easy model (BPMN 2.0)
« Reply #1 on: June 28, 2012, 09:01:54 am »
You'll have to wait until the ScriptTask activity is implemented or use UML activities.

impression

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Simulation of an easy model (BPMN 2.0)
« Reply #2 on: June 28, 2012, 04:58:44 pm »
Thanks for your answer.

I can simulate BPMN models from their logical side. So I can test Gateways and so on.

But its not possible to simulate them with variables actually?

PS
Furthermore I think its not possible to generate C# code from BPMN models?

Thanks again.

impression

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Simulation of an easy model (BPMN 2.0)
« Reply #3 on: June 28, 2012, 05:50:46 pm »
One more question:

Is there a foreseeable date when ScriptTask will be implemented?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Simulation of an easy model (BPMN 2.0)
« Reply #4 on: June 28, 2012, 07:02:18 pm »
Quote
PS
Furthermore I think its not possible to generate C# code from BPMN models?.
I don't know about the plans Sparx may have, but since BPMN is a business model notation it seems logical to use that for your business model.

In my world that is a model that lives in the Computational Independent world (CIM, so parts are automated, parts can be manual, we just don't care.
It's only when we decent into the functional model (Platform Independent Model or PIM) that we define which parts of the business model we will automate.
From there we should then create our PSM's or Platform Specific Models (i.e. C#, DDL, HTML, JavaScript,... specific models)

MDA dictates that between each level you have a (bidirectional?) transformation.

Anyway, looking at it from that perspective it seems rather odd to generate c# code from a BPMN model.

Geert

impression

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Simulation of an easy model (BPMN 2.0)
« Reply #5 on: June 28, 2012, 09:47:54 pm »
Quote

Anyway, looking at it from that perspective it seems rather odd to generate c# code from a BPMN model.

Geert
Hi Geert,

I am trying to describe a business logic for a software system with Enterprise Architect and BPMN. I can create BPMN models that describe the logic correctly. This logic depends on some variables and my dream was to simulate the model considering this variables. So I want to initialize, set and compare this variables in my BPMN model to simulate it.

Generating C# code snippets is just a nice to have.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Simulation of an easy model (BPMN 2.0)
« Reply #6 on: June 29, 2012, 08:21:28 am »
It's been implemented, but I can't say when it will be released. At this stage it's not scheduled for a minor patch build.