Changing the connection type


#1

i created ‘Bpmn:SequenceFlow’, and i want to this connection change to ‘Bpmn:MessageFlow’ type.
is it possible??? then how to??


#2

Technically speaking you cannot change the type of a connection. To make it look like a replace from the users point of view you have to remove it and add a new bpmn:MessageFlow with the same waypoints.

Note however that bpmn:SequenceFlow and bpmn:MessageFlow have entirely different semantics.


#3

thanks.

What is the most perfect approach to clearing the existing connection and creating a new connection with the same bendpoint?