Skip to main content



      Home
Home » Modeling » ATL » Source and Target of Flow not embedded in Target model
Source and Target of Flow not embedded in Target model [message #1756116] Sat, 11 March 2017 12:27 Go to next message
Eclipse UserFriend
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

Re: Source and Target of Flow not embedded in Target model [message #1756180 is a reply to message #1756116] Mon, 13 March 2017 10:56 Go to previous messageGo to next message
Eclipse UserFriend
Please any one tell me where is the issue ? in my ecore model or my rules?
Re: Source and Target of Flow not embedded in Target model [message #1756186 is a reply to message #1756180] Mon, 13 March 2017 11:56 Go to previous message
Eclipse UserFriend
Hi,

It's look like your source and target, for the SequenceFlow flow1, are empty in your model.
Previous Topic:empty sequence problem
Next Topic:Create a new element in the target model
Goto Forum:
  


Current Time: Wed Jul 23 19:24:46 EDT 2025

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

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

Back to the top