Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [henshin-dev] Henshin-rules and BPMN2-Models

Hi Jens,
Being one of tjhe BPMN2 Modeler people I can at least help with the metamodel, the corrent reference is "plane: BPMNPlane" .

Regarding the diagram information: the only purpose of the diagram information is saving the bounds and location of the shapes / edges for interchange with other modelers, its therefore not possible to recreate this information without some kind of auto-layout based on the hierarchy. Thats not what a modeler of process models wants to have.

Back to topic: I did a BPMN2 transformation some time ago with henshin, I will try to restore it and see if it included your scenario.

Cheers,
Andreas

On 30.10.2012 15:26, Jens Bürger wrote:
Am 29.10.2012 14:39, schrieb Christian Krause:
Hi Jens,

it could be a reference to the container object. If you want to create
or delete an object, you should always explicitly add /delete it to/from
its container object. In your case, this should be an instance of
Process.

Yes, this is the thing.
I did some additional research, there is an additional issue:

In contrast to UML, where diagram and model information are split into
to separate files (.uml and .umldi), in BPMN both are put into one file.
I attached a simple BPMN-Model (and -Diagram) where I want to delete a
task with the specific name "Ignore".

I already asked the BPMN2 Modeler-people if it is possible to re-create
diagram information from the model (as TOPCASED is able to do this for
UML-models), but I don't have an answer yet.

So I guess to not leave dangling edges behind, in detail the graphical
elements in the diagram-part, I also have to model the deletion of the
diagram-elements. I created a Henshin-rule to do that, but it cannot be
applied.

What I see may be a problem is the type of edges in the rule. I don't
know what edge-types to choose, because some elements are just nested
and not referenced via attributes.

For example the connection BPMNDiagram and BPMNPlane:
These two elements are just nested in the .bpmn2-file, whie <henshin
offers me two edge types:
rootElement:DiagramElement
plane:BPMNPlane

Jens


_______________________________________________
henshin-dev mailing list
henshin-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/henshin-dev



Back to the top