Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 17:27 Go to next message
elay 221Friend
Messages: 6
Registered: March 2017
Junior Member
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 17:35]

Report message to a moderator

Re: Source and Target of Flow not embedded in Target model [message #1756180 is a reply to message #1756116] Mon, 13 March 2017 14:56 Go to previous messageGo to next message
elay 221Friend
Messages: 6
Registered: March 2017
Junior Member
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 15:56 Go to previous message
louis andia. is currently offline louis andia.Friend
Messages: 47
Registered: November 2016
Member
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: Tue Jul 17 07:45:25 GMT 2018

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

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

Back to the top