[ATL] BPMN to BPEL, paternity problems for GatewayDataBasedExclusive/If [message #512367] |
Thu, 04 February 2010 19:09 |
François B. 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
|
|
|
Powered by
FUDForum. Page generated in 0.03196 seconds