[ATL] BPMN to BPEL simple rules transformation problem [message #512339] |
Thu, 04 February 2010 12:31  |
Eclipse User |
|
|
|
Hello everybody,
I'm working on some issues I'm meeting trying to make transformation rules from BPMN to BPEL.
Here are 3 very simple rules:
rule GenerationProcess {
from
pool:BPMN!Pool
to
sequence:BPEL!Sequence1 (
name <- pool.name,
activities <- pool.vertices
)
}
rule GenerationInvoke {
from
activity:BPMN!Activity (
activity.activityType = #Task
)
to
invoke:BPEL!Invoke (
name <- activity.name
)
}
rule GenerationSubProcess {
from
subprocess:BPMN!SubProcess
to
sequence:BPEL!Sequence1 (
name <- subprocess.name,
activities <- subprocess.vertices
)
}
The problem is that I get this error when executed:
org.eclipse.m2m.atl.engine.emfvm.VMException: Trying to register several rules as default for element org.eclipse.emf.ecore.impl.DynamicEObjectImpl@dc8b55 (eClass: org.eclipse.emf.ecore.impl.EClassImpl@16fb175 (name: SubProcess) (instanceClassName: null) (abstract: false, interface: false)) : GenerationInvoke and GenerationSubProcess
I took a look on the BPMN metamodel and I saw that the propriety "Instance Type Name" of the Subprocess is empty, do you think that this is the problem? Do I need to modify the metamodel? or maybe some other solutions exists...
Thank you very much.
François
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.10767 seconds