hello every one
I'm trying to transform sequence flow into control flow, but it only converted with Eattribute "name"
I don't why ATL can't recognized these two Ereferences "source" and "target"
I make an EOpposite between:
target with incoming
source with outgoing
but it's still not work
--Rule 4 Sequence flow to Control flow
rule SequenceFlowBPMN2ControlFlowUML {
from
S: BPMN!SequenceFlow
to
C: UMLAD!ControlFlow (
name <- S.name,
targetRef <- S.target,
sourceRef <- S.source
)
do {
C.debug('ControlFlow name is ' + S.name);
C.debug( 'Source is' +S.source);
C.debug( 'Target is' +S.target);
}
}
this is what appear in Console
Quote:
ControlFlow name is flow1: OUT!flow1
Source isorg.eclipse.m2m.atl.engine.emfvm.lib.OclUndefined @ 5f870101: OUT!flow1
Target isorg.eclipse.m2m.atl.engine.emfvm.lib.OclUndefined @ 5f870101: OUT!flow1
[Updated on: Sat, 11 March 2017 12:35] by Moderator