|
Re: extensionElements and CallActivity [message #1007802 is a reply to message #1007755] |
Thu, 07 February 2013 14:36 |
|
Hi Björn,
1. yes, there are several examples of how to extend the BPMN2 model in the org.eclipse.bpmn2.modeler.runtime.example plugin. I'm not sure I understand what you are trying to do though. Are you asking if it's possible to inject ItemDefinitions into a model so they are available for selection in the Property List?
2. this depends on the execution engine you are targeting: if you are using jBPM you just need to enter the process ID of the Called Activity (sorry, no validation is done here since the process may or may not have been defined yet); if you are using the generic editor (the so-called "None" or default Target Runtime) then you must first add the external process to the "Import List" from the "Definitions" property tab. The external process should then be available from the Called Activity combobox, like so:
The "+" button on the Call Activity creates a Process within the current file.
One of the features I've been thinking about is adding DND support from the Navigator window to let you drop a bpmn file onto the canvas (which would create the Import) or an Activity (which would link the Call Activity to the external process).
Cheers,
Bob
|
|
|
|
Re: extensionElements and CallActivity [message #1007867 is a reply to message #1007842] |
Thu, 07 February 2013 20:14 |
|
Hmmm, ok....
1. I'm assuming you have already created an EMF model for your extension elements. If not, this should be your first step! Again, refer to the example plugin for details. I think your model should look something like this (maybe?)
There have been several questions and much confusion over this topic, so I will be posting a screencast on the project website (soon-ish) that walks through the entire process of adding extension elements.
2. Oops! Yes, I saw that there was a slight...issue with selecting and creating targets for CallActivity, CallChoreography and CallConversation - this has been fixed in today's release 0.2.2
Let me know if you need more help.
Cheers,
Bob
|
|
|
Powered by
FUDForum. Page generated in 0.03652 seconds