|
Re: Custom SequenceFlow [message #903245 is a reply to message #903189] |
Wed, 22 August 2012 16:49 |
|
If I understand this correctly, what you're trying to do is to connect a SequenceFlow to a bendpoint of another SequenceFlow. Something (almost) like this:
Unfortunately this is not allowed because the source and target element of a SequenceFlow MUST be a subclass of a FlowNode, whereas here you are trying to set a FlowElement (the base class of SequenceFlow) as the target. Close, but not quite
Can you make do with Associations instead?
|
|
|
Re: Custom SequenceFlow [message #904426 is a reply to message #903245] |
Tue, 28 August 2012 12:10 |
Pascal Stich Messages: 2 Registered: August 2012 |
Junior Member |
|
|
Quote:I am using CustomTasks to define new Elements and everthing is fine with that.
Hi,
I know it isn´t the question of this thread, but I need to create a CustomTask in BPMN-Modeler. I already saw the 'org.eclipse.bpmn2.modeler.runtime.example' but didn´t find a customTask that is added to the palette when I tested it. So can you give me a little example how to implement a CustomTask?
Thanks for your help,
Pascal
PS: I would have written a PM... I don´t know why, but it is deactivated / not possible in this forum!?
[Updated on: Tue, 28 August 2012 12:13] Report message to a moderator
|
|
|
|
Re: Custom SequenceFlow [message #906778 is a reply to message #906584] |
Sun, 02 September 2012 14:34 |
|
I don't know which execution engine you are targeting, but if it is BPMN 2.0 spec compliant, then the above will not work with Sequence Flows. You CAN, however attach an Association to a Sequence Flow (as in the image, above). Not sure if that will accomplish what you are trying to do...
|
|
|
Re: Custom SequenceFlow [message #907060 is a reply to message #903189] |
Mon, 03 September 2012 08:27 |
Dominik Thalmann Messages: 11 Registered: May 2012 |
Junior Member |
|
|
Hmm that sounds good and in the Picture it looks like something I could use for it...
I cant find these associations in the BPMN Modeler though. There is no association-element in the palette.
Would I be able to add Propertys to these associations to store my information? Or can I define a custom-association in my plugin like a custom task? Because I will always need the same fixed Propertys for my needs.
Thanks again for your help Robert!
Greetings Dominik
Edit: Yes the runtime should be BPMN 2.0 spec compliant.
[Updated on: Mon, 03 September 2012 08:27] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.05255 seconds