Changing the connection type

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

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.


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