Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] BPMN to BPEL, paternity problems for GatewayDataBasedExclusive/If
[ATL] BPMN to BPEL, paternity problems for GatewayDataBasedExclusive/If [message #512367] Thu, 04 February 2010 19:09
François B. is currently offline François B.Friend
Messages: 5
Registered: February 2010
Junior Member
Hello everybody,

trying to write some ATL rules to make BPMN to BPEL transformations, I encountered a problem which is the paternity of the activity.

For exemple, if I got a simple BPMN graph where there is the startEvent, then a Task1 and then a Gateway with a condition for one task, and an other condition for an other task, I would like to generate an if/else code in BPEL.

Maybe this is not the good way to do it... :

rule GenerationGateway {
from activity:BPMN!Activity (
activity.activityType=#GatewayDataBasedExclusive and activity.oclIsTypeOf(BPMN!Activity)
)
to
receive:BPEL!If (
name <- 'gatewayExcl' + activity.iD,
activities <- activity.vertices and activity.vertices.incomingEdges=activity.iD
)
}

rule GenerationParallel{
from
activity:BPMN!Activity (
activity.activityType=#GatewayParallel and activity.oclIsTypeOf(BPMN!Activity)
)
to
receive:BPEL!Flow (
name <- 'flowId' + activity.iD,
activities <- activity.vertices and activity.vertices.incomingEdges=activity.iD
)
}

If you have any suggestion...

Thank you very much.

François

[Updated on: Thu, 04 February 2010 19:39]

Report message to a moderator

Previous Topic:[ATL] Beginner question, How helpers work ?
Next Topic:[QVTO] How to remove an element completely?
Goto Forum:
  


Current Time: Thu Apr 25 09:09:35 GMT 2024

Powered by FUDForum. Page generated in 0.03052 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top