Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » Possible to reference to two helpers in the same rule
Possible to reference to two helpers in the same rule [message #538036] Fri, 04 June 2010 15:23 Go to next message
Roger80  is currently offline Roger80 Friend
Messages: 79
Registered: May 2010
Member
Hi all,

I have two helpers defined for one rule defined. How can I add a second helper to the same rule?

My code looks like this:


rule Event {
from
	e : EPK!Event (not e.isStarter()), (not isConditionalFlow()) --does not work

to 
	b : BPMN!IntermediateThrowEvent 
	 (
		id <- e.id,
	 	name <- e.name
	 	
 	)
 }
Re: Possible to reference to two helpers in the same rule [message #538046 is a reply to message #538036] Fri, 04 June 2010 16:19 Go to previous messageGo to next message
Sylvain EVEILLARD is currently offline Sylvain EVEILLARDFriend
Messages: 556
Registered: July 2009
Senior Member
not e.isStarter() and not e.isConditionalFlow()
Re: Possible to reference to two helpers in the same rule [message #538048 is a reply to message #538046] Fri, 04 June 2010 16:26 Go to previous messageGo to next message
Roger80  is currently offline Roger80 Friend
Messages: 79
Registered: May 2010
Member
it doesn't work...

rule Event {
from
	e : EPK!Event (not e.isStarter()) and (not isConditionalFlow())

to 


What do I make wrong?
Re: Possible to reference to two helpers in the same rule [message #538049 is a reply to message #538036] Fri, 04 June 2010 16:29 Go to previous message
Roger80  is currently offline Roger80 Friend
Messages: 79
Registered: May 2010
Member
Perfect, sorry its working with:

rule Event {
from
	e : EPK!Event (not e.isStarter() and not e.isConditionalFlow())

to


Thanks for your help!!!!!
Previous Topic:[ATL] Problem with Helper in Rule
Next Topic:[ATL] How to make an ecore from XSD and its XML?
Goto Forum:
  


Current Time: Tue Dec 03 05:36:57 GMT 2024

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

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

Back to the top